invitation: try compiling kdelibs using cmake
Alexander Neundorf
neundorf at kde.org
Sat Jan 28 13:38:08 CET 2006
On Saturday 28 January 2006 13:02, Winfried wrote:
> I also checked out kdelibs trunk and tried to build it with cmake. After "
> cmake ." finished ok, make gave the error below.
> I have a separate user account for kde4 building: kde4.
> Even though I did export QTDIR=/home/kde4/qt4
> and I removed /usr/lib/qt3/bin from the PATH environment variable, still
> the build system tries to use the qt3 moc executable.
>
> When I edit CMakeCache.txt manually and change the following two variables
> QT_MOC_EXECUTABLE:FILEPATH=/usr/lib/qt3/bin/moc
> QT_UIC_EXECUTABLE:FILEPATH=/usr/lib/qt3/bin/uic
> compilation starts ok (it is still compiling now).
Instead of editing it manually you can also run ccmake . (this is crying for a
"qcmake"...)
Other than that you are doing nothing wrong.
I had the same effect, and it was a design decision by kitware to check at
first the system paths, as you can see in the thread "[CMake] [PATCH]
improvement for FindQt4.cmake" :
http://public.kitware.com/pipermail/cmake/2006-January/thread.html
I'll try to do the following:
http://public.kitware.com/pipermail/cmake/2006-January/007822.html
Bye
Alex
--
Work: alexander.neundorf AT jenoptik.com - http://www.jenoptik-los.de
Home: neundorf AT kde.org - http://www.kde.org
alex AT neundorf.net - http://www.neundorf.net
More information about the Kde-buildsystem
mailing list