Re: CMake problem with Qt4.2.1 from Distro packages and qt-copy for kdelibs
Alexander Neundorf <neundorf <at> kde.org>
2007-01-01 13:56:34 GMT
On Monday 01 January 2007 13:51, Reinhold Kainhofer wrote:
> Hi all!
> On my office machine I have Debian installed and Qt 4.2.1 from the debian
> packages (since other packages depend on Qt4). Now since kdelibs no longer
> works with Qt 4.2.1 (which has worked for quite a while until a week or two
> ago), I needed to install qt-copy, too.
> So, I have Qt 4.2.1 installed in /usr and qt-copy
> in /data/kdetest/qt-unstable, the variables are all setup correctly as
> decribed on http://wiki.kde.org/tiki-index.php?page=KDE3To4:
> kdetest <at> curie:~$ echo $QTDIR
QTDIR is obsolete with Qt4, no need to set it.
> kdetest <at> curie:~$ echo $LD_LIBRARY_PATH
> kdetest <at> curie:~$ which qdbuscpp2xml
"which qmake" is the important one. Make sure the qt-copy qmake is the first
qmake in the PATH, then everything should work correctly.
> However, when I use ccmake (cmake version 2.4-patch 5, installed from
> Debian packages) to configure kdelibs, some paths are taken from $QTDIR,
> while others are taken from /usr! In particular, all include paths are