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

> Can you please paste the output of your $PATH on that machine?
A good question, it reminded me that I do not just call cmake etc. in
my console, but use a script for that which sets up the environment so
that all the previously compiled KDE stuff (which is installed to
/opt/kde-master) is found by whatever is currently compiled. Sorry
that I forgot to mention this, I really just forgot about it.
The PATH is not changed though, it is still

$ echo $PATH
/home/r/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games

where /home/r/bin contains just the aforementioned script (called
mass-build, source available at <http://www.ralfj.de/git/mass-build.git>).

However, PKG_CONFIG_PATH, CMAKE_PREFIX_PATH, XDG_DATA_DIRS and
XDG_CONFIG_DIRS are changed to contain their respective subdirectory
of /opt/kde-master. The final values of these are

PKG_CONFIG_PATH=/opt/kde-master/lib/pkgconfig
CMAKE_PREFIX_PATH=/opt/kde-master
XDG_DATA_DIRS=/opt/kde-master/share:/usr/share
XDG_CONFIG_DIRS=/opt/kde-master/etc/xdg:/etc/xdg

Then cmake is called as

'cmake' '/home/r/src/kde/kdesupport/attica' '-DCMAKE_BUILD_TYPE=Debug'
'-DCMAKE_INSTALL_PREFIX=/opt/kde-master'


If I make the same cmake call in my shell (same PATH, but without the
additional changes to the environment mentioned above), the warning is
not printed. So something in these environment variables confuses
qtchooser?

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

iQEcBAEBAgAGBQJRq1wbAAoJEEAdTZ0mjB1W9/IH/2IuCKI+AmpsF+zOk/61TJbq
ziwO0BJyPzgJD88BkoTRn8yWr/EPKzOvFhYD5fX6kd2IHeE74Kn7viN5y1Pb+xq4
SPiAHS3y2ydGcwrS+3YZumLLfzOclNmUZXkjYXhl+HVaCScFD5a8870oUW3k9aWx
QVpCRmEx6ZtEeElZKL1yJOfbAsLq9VXC+pu73yKGbNIfTgDoLPsw4MDWRqtYCgI1
2WoZGJy7I06Lxg4UYvcc50TeAkniTQUP1br07Z8w43inUPC+8lpbHzuukMs2Ito0
rKmFvO7OfVbKJoYORWWg6uzyDk5sqO4HYFhDZH1O3oIIoQEsBaifQ01bKRMszZc=
=RDvl
-----END PGP SIGNATURE-----


Reply to: