[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,

On 02/06/13 19:38, Lisandro Damián Nicanor Pérez Meyer wrote:
> On Sunday 02 June 2013 12:28:38 Lisandro Damián Nicanor Pérez
> Meyer wrote: [snip]
>> $ ls /usr/share/qtchooser/ qt4-i386-linux-gnu.conf 
>> qt4-x86_64-linux-gnu.conf qt5-x86_64-linux-gnu.conf
> 
> I've just contacted upstream and they told me that XDG_CONFIG_DIRS
> is the full override, that's intentional. So if you override it,
> you need to make sure to let it know the patch to your qtchooser's
> confs paths.
> 
> You can make use of `dpkg-architecture -qDEB_HOST_MULTIARCH` if 
> necessary.
> 
> I'm thus closing this bug.
This behaviour does not make any sense whatsoever: It overrides an
internal, qtchooser-specific configuration variable using a variable
intended for *global* configuration, hence it expects its own
configuration to be immediately in the root of global configuration,
however it *installs* its own configuration in a completely different
location. If this were the "standard", changing XDG_CONFIG_DIRS would
require listing the configuration directories of all installed
applications.
However this is obviously an upstream bug, so you cannot do much about
it - I'll probably work around it locally (e.g. by adding
/usr/share/qtchooser/ to the config directories, even though it is not
a global configuration directory) and keep in mind that apparently,
these environment variables are not meant to be useful in any from,
according to Qt upstream. :(

Kind regards,
Ralf
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJRq4W/AAoJEEAdTZ0mjB1Ws8EIALC4Ap+NontKJzYiOXeOVknv
7wa3ufylCDQ0bMV+vQhh+mNA+0cCfcBeO3HbXd/a0dG4muN2ZxntXPEJr3BfZulG
CtntrrtiR+9VSwOFFYYzvnsIWPLQFnoXuUNbcrmezrPO/WD0ePHtZUsqmtkffcgq
XoUgbhqRwGzUDaSdeboPyb++zoXxxlmjQ9ftJ68dZeVw2dTXGDIo/5h9PhWCn4e3
Mj4GIDcO2R1+B+D75JvQpdNU0NPJoWbZiBO544vg1ulZuTm45nnKxhNgcHk0CBok
aIfHl2xuwHnzRmEyyfmLGh+jgY3LjbK3pizvPeDlYjCZv6lMDL9sRAxzjL3xJVA=
=BCgS
-----END PGP SIGNATURE-----


Reply to: