How to find qmake to find QT4

William A. Hoffman billlist at nycap.rr.com
Tue Mar 21 19:27:57 CET 2006


At 01:08 PM 3/21/2006, Alexander Neundorf wrote:


>Ok, then I have two broken systems here, on both I compiled qt-copy and did 
>"make install".
>Having to mess around with setting up pkgconfig manually in order to be able 
>to compile KDE is no option IMO.
>I'll add the pkgconfig results as the first location to check.
>
>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 ?
>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.
>
>Setting QTDIR to point to the Qt4 installation directory is simple, and 
>documented in the wiki (if it would be accessible :-/ )
>
>The other option is to move QTDIR to the lat position and require something 
>like
>export PATH=/usr/lib/qt4/bin:$PATH
>
>For me the QTDIR solution just feels better with less potential problems.

My understanding was that QTDIR was being deprecated for qt4, and that qmake
had to be in the PATH.  I can not find a reference on the qt site,
but there are several posts like this one floating around:

http://lists.ibiblio.org/pipermail/sm-discuss/2006-March/013559.html



-Bill



More information about the Kde-buildsystem mailing list