[Interest] qtchooser and the current importance/interest of QTDIR?

René J.V. Bertin rjvbertin at gmail.com
Wed Feb 18 13:04:51 CET 2015


On Tuesday February 17 2015 18:27:26 Nikos Chantziaras wrote:

Hello,

> QTDIR isn't used anymore. If you want to install to different prefixes, 
> just do so. No QTDIR needed. If you call the right qmake that was 
> installed in the prefix you want, all build paths will be correct for 
> that prefix.

Bear with me to come back to this :)

How do the cmake files factor into this, and qtchooser? In other words, how does this work for projects that don't expect you to invoke qmake by hand (or IDE) but are based on cmake instead? Do Qt5's cmake files have built-in support for qtchooser (i.e. they use -qt=qt5), are they rewritten during the installation procedure, or does one have to point cmake to the correct qmake executable?

Thanks,
R.



More information about the Interest mailing list