[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#710773: qtchooser: New error/warning when using Qt and cmake: qmake: could not find a Qt installation of ''



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

>>> For now I'll say it's not a bug, but I'll keep it open to see
>>> if XDG_CONFIG_DIRS could instead be prepended.
>> 
>> So, what do I have to add to XDG_CONFIG_DIRS (or any other
>> environment variable) in my script to make it work again?
> 
> The path to where the qtchooser config files are. For example, 
> libqtcore4:amd64 ships:
> 
> /usr/lib/x86_64-linux-gnu/qtchooser/4.conf 
> /usr/lib/x86_64-linux-gnu/qtchooser/qt4.conf
Ouch, that's ugly. So I have to teach it about multiarch and figuring
out the current arch-triplet? I think I prefer the warning...
In this case I have to say that I definitely consider this a bug:
/usr/share is the default for XDG_DATA_DIRS, and all applications
should behave the same whether XDG_DATA_DIRS in unset or set to
/usr/share. /usr/lib/... on the other hand is definitely not a data
directory (otherwise it wouldn't be called lib), so it should never be
in XDG_DATA_DIRS.

Kind regards
Ralf

> 
> So you need to add /usr/lib/x86_64-linux-gnu/ to that variable to
> use the configs inside the qtchooser directory.
> 
> It's in qtchooser's manpage, although it can be improved. Patches
> welcomed ;)
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJRq2L5AAoJEEAdTZ0mjB1W+V8IAKTaKEKof7f5/DiVS0ClB9qm
RCeliRknHc0Zykuqd/f+IvtUyYPAfIaGA619lvek9DPcUspZuCUNluUrBJofufnL
WmgAvdrDcDqS3wbyG/7sonTWdCY5V+mOz28YDhfTucfrbBxPY20L5fjB4zoKeRns
rwidcfxngBOUqnlVzvXAzpIu1KBdnX1Oi7ZgpkMs7pQjY0sMHg19oxQwTRyyPkUg
xyGpDWsJdshuwZqYUgvtyjILXOqpCEtNdFmKccaqGYb/IBoawCqUp6lsKq6333g8
Y36AP+97tnGPbH47OXuMJWlmQWXZKNkEYXF5wGBzPaycxpmarR5CKmEnFkI8hEw=
=unHG
-----END PGP SIGNATURE-----


Reply to: