CMake problem with Qt4.2.1 from Distro packages and qt-copy for kdelibs

Thiago Macieira thiago at kde.org
Mon Jan 1 13:13:36 GMT 2007


Reinhold Kainhofer wrote:
>kdetest at curie:~$ echo $QTDIR
>/data/kdetest/qt-unstable
>kdetest at curie:~$ echo $LD_LIBRARY_PATH
>/data/kdetest/kde/lib:/data/kdetest/qt-unstable/lib:
>kdetest at curie:~$ which qdbuscpp2xml
>/data/kdetest/qt-unstable/bin/qdbuscpp2xml

which qmake?

>How can I force ccmake to search for the includes and the binaries in
> the QTDIR first and not in /usr?

sed -i '/QT_/d' CMakeCache.txt
cmake $srcdir
cmake $srcdir

(run twice because the first one fixes the corrupt CMakeCache.txt file 
that sed created)
-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- 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-core-devel/attachments/20070101/c0f6a362/attachment.sig>


More information about the kde-core-devel mailing list