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

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

Reinhold Kainhofer wrote:
>kdetest at curie:~$ echo $QTDIR
>kdetest at curie:~$ echo $LD_LIBRARY_PATH
>kdetest at curie:~$ which 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) - thiago (AT)
    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: <>

More information about the kde-core-devel mailing list