How to find qmake to find QT4

Andras Mantia amantia at kde.org
Tue Mar 21 19:26:26 CET 2006


On Tuesday 21 March 2006 20:08, Alexander Neundorf wrote:
> The reason why I moved QTDIR to the first position is because it is
> simple. On my system the Qt3 bin/ dir is in the PATH, while the Qt4
> bin/ dir isn't. Is this broken ?

On SuSE they both point to the default Qt3 installation.

> Currently there no Qt4 apps on my system (except kdelibs), but a lot
> of Qt3 software, which is just easier to compile if the Qt3 bin/ dir
> is in the PATH.

It can remain in the path, just that Qt4 is the first one. As soon as 
you start developing for KDE/Qt4 you want to access the Qt4 tools, so 
you should have qt4/bin in the path.

Another problem is that now it works inconsistently. If you pass the 
-DQT_QMAKE_EXECUTABLE with the right path when running cmake it will 
find it, but as soon as you run make, it will complain again. 

Andras
-- 
Quanta Plus developer - http://quanta.kdewebdev.org
K Desktop Environment - http://www.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20060321/dc744925/attachment.pgp 


More information about the Kde-buildsystem mailing list