X2Go Bug report logs - #1096
Qt5 build: qmake does not bundle resources correctly

version graph

Package: x2goclient; Maintainer for x2goclient is X2Go Developers <x2go-dev@lists.x2go.org>; Source for x2goclient is src:x2goclient.

Reported by: Bernard Cafarelli <voyageur@gentoo.org>

Date: Wed, 28 Sep 2016 20:45:01 UTC

Severity: normal

Tags: patch, pending

Found in version 4.0.5.2

Fixed in version 4.0.5.3

Done: X2Go Release Manager <git-admin@x2go.org>

Bug is archived. No further changes may be made.

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.x2go.org
Subject: Bug#1096: [X2Go-Dev] Bug#1096: Qt5 build: qmake does not bundle resources correctly
Reply-To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>, 1096@bugs.x2go.org
Resent-From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Resent-To: x2go-dev@lists.x2go.org
Resent-CC: X2Go Developers <x2go-dev@lists.x2go.org>
X-Loop: owner@bugs.x2go.org
Resent-Date: Sat, 08 Oct 2016 22:30:01 +0000
Resent-Message-ID: <handler.1096.B1096.147596554225987@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: followup 1096
X-X2Go-PR-Package: x2goclient
X-X2Go-PR-Keywords: pending
Received: via spool by 1096-submit@bugs.x2go.org id=B1096.147596554225987
          (code B ref 1096); Sat, 08 Oct 2016 22:30:01 +0000
Received: (at 1096) by bugs.x2go.org; 8 Oct 2016 22:25:42 +0000
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00 autolearn=ham
	version=3.3.2
Received: from localhost (localhost [127.0.0.1])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 1AFEF5DA9D
	for <1096@bugs.x2go.org>; Sun,  9 Oct 2016 00:25:38 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at ymir.das-netzwerkteam.de
Received: from ymir.das-netzwerkteam.de ([127.0.0.1])
	by localhost (ymir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id UiSVEAAYYo0W for <1096@bugs.x2go.org>;
	Sun,  9 Oct 2016 00:25:31 +0200 (CEST)
Received: from freya.das-netzwerkteam.de (freya.das-netzwerkteam.de [88.198.48.199])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 8F4675DA99
	for <1096@bugs.x2go.org>; Sun,  9 Oct 2016 00:25:31 +0200 (CEST)
Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [IPv6:2a01:4f8:131:20c1:5254:ff:fe24:f0dd])
	by freya.das-netzwerkteam.de (Postfix) with ESMTPS id 44854308;
	Sun,  9 Oct 2016 00:25:31 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id E26EA3B8C1;
	Sun,  9 Oct 2016 00:25:30 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at grimnir.das-netzwerkteam.de
Received: from grimnir.das-netzwerkteam.de ([127.0.0.1])
	by localhost (grimnir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id vg55N64ll22e; Sun,  9 Oct 2016 00:25:24 +0200 (CEST)
Received: from das-netzwerkteam.de (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTPS id 93B2D3B8AA;
	Sun,  9 Oct 2016 00:25:24 +0200 (CEST)
Received: from 2001:6f8:900:8eac:4685:ff:fe8e:ea5e
 ([2001:6f8:900:8eac:4685:ff:fe8e:ea5e]) by mail.das-netzwerkteam.de (Horde
 Framework) with HTTP; Sat, 08 Oct 2016 22:25:24 +0000
Date: Sat, 08 Oct 2016 22:25:24 +0000
Message-ID: <20161008222524.Horde.UAE0D6dB0Nko6fkxstUr4v_@mail.das-netzwerkteam.de>
From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: Bernard Cafarelli <voyageur@gentoo.org>, 1096@bugs.x2go.org
In-Reply-To: <20160928223500.2d8a55a6@enterprise.cafarelli.fr>
User-Agent: Horde Application Framework 5
Accept-Language: de,en
Organization: DAS-NETZWERKTEAM
X-Originating-IP: 2001:6f8:900:8eac:4685:ff:fe8e:ea5e
X-Remote-Browser: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
 Firefox/45.0
Content-Type: multipart/signed; boundary="=_cHRgzcsJY8i9AGyh21oCodk";
 protocol="application/pgp-signature"; micalg=pgp-sha256
MIME-Version: 1.0
[Message part 1 (text/plain, inline)]
Control: tags -1 patch

On  Mi 28 Sep 2016 22:35:00 CEST, Bernard Cafarelli wrote:

> Package: x2goclient
> Version: 4.0.5.2
>
> While updating the x2goclient Gentoo package to support a Qt5 build, I
> found out that the binary did not have bundled resources (images and
> translations), even if the same build with Qt4 worked fine.
> Sample errors:
> x2go-WARNING-1> "Non-fatal: can't load
> translator: :/i18n/x2goclient_fr_fr"
> [...]
> Cannot open file ':/img/svg/x2gologo.svg', because: No such file or
> directory
> [...]
>
> Huge thanks to Michael Palimaka <kensington@gentoo.org> who found out
> the root cause:
> rcc is the compiled version of qrc, so it looks like for some reason
> qmake5 assumes the rcc files are already compiled, and bundles them
> as-is instead of processing them
>
> The fix is to rename the resources files from .rcc to .qrc (and update
> the project file accordingly). Patch attached, tested and working fine
> on Gentoo with Qt 4.8.7 and 5.6.1

Thanks for providing this patch. Tagging the bug report accordingly.

Mike
-- 

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
mobile: +49 (1520) 1976 148
landline: +49 (4354) 8390 139

GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22  0782 9AF4 6B30 2577 1B31
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de

[Message part 2 (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Dec 5 11:03:51 2024; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.