From mike.gabriel@das-netzwerkteam.de  Sun Oct  9 00:25:38 2016
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
Subject: Re: [X2Go-Dev] Bug#1096: Qt5 build: qmake does not bundle resources
 correctly
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

This message is in MIME format and has been PGP signed.

--=_cHRgzcsJY8i9AGyh21oCodk
Content-Type: text/plain; format=flowed; DelSp=Yes
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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
--=20

DAS-NETZWERKTEAM
mike=20gabriel, 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


--=_cHRgzcsJY8i9AGyh21oCodk
Content-Type: application/pgp-signature
Content-Description: Digitale PGP-Signatur
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAABCAAGBQJX+XJUAAoJEJr0azAldxsx5AEP/jvmhN4TyybzgW1+9p8wnHqK
Q02Up42SfHBLkGPmpMbOjVS78FRsnB+RbU0TbTA1HzAnKE9PXM6sbn/xlAGcKs+J
tRvd/9TPt9o+vYj32WCMi/EVFpbq78QsrKTbHUgvqf0z6rPhw6+XMpw+fT/nDzio
R8x1015/XkyzOSoCY6UFG9SzAq5cD7DFAaIwc0PDCod2mU4xSP8t3YokpKabtopr
sunamHJPHteMLBW52QCAfBirE0zSu6PgFNTbp7vKhh78QfPVIy7t5KL6jm/YA5zp
8Jx/AnX1wzqGURJxormtFoHfQogr+6tKbp8cxKcMz03OeWBdS4no+ByOEA2+OD+s
1+JMCBvjGlMQb/AruLHlw8wtmf5vQbuOmsHdpqycJ/uLGT+9X5tTfOTyib+GYCHM
H2l8Zwq7JcX4d4qaFw7Tm49eHC4vAiwQtvJBrh/+bBhfrx/ZK9mmUrQf6gDUPY19
yrQ+7TyzPnhJTMUuY05KR2xEqN4wLRNUxgdr1n4bOOaYNkgxOf8jW2WFFMwmyIXk
kGJQ60byPQy1Hp45PeS/Ca7kBdINHQ+bcKjEP3pUt3RwffUv9lhfqk/pUi+o7SZL
+xyXSFGK9m9ytJuZmgrJO/jqqz12imZXi/Qi6I3gotcgl3yFofn9WwA27mMY1EBx
nfHHYm4tVhLlaU8RkbjQ
=LloB
-----END PGP SIGNATURE-----

--=_cHRgzcsJY8i9AGyh21oCodk--

