I can't get strigi nor kdelibs to detect Qt4. My checkouts of qt-copy and kdelibs are from today.
$ cmake --version cmake version 2.4-patch 6 $ echo $QTDIR /home/kde4/celerysvn/qt-copy I've compiled qt-copy but did not "make install", as usual. $QTDIR/bin is in my path. In kdelibs/build: $ cmake -DCMAKE_INSTALL_PREFIX=$KDEDIR -DCMAKE_BUILD_TYPE=debug ../ -- Check for working C compiler: /usr/lib/ccache/bin/gcc -- Check for working C compiler: /usr/lib/ccache/bin/gcc -- works -- Check size of void* -- Check size of void* - done -- Check for working CXX compiler: /usr/lib/ccache/bin/c++ -- Check for working CXX compiler: /usr/lib/ccache/bin/c++ -- works CMake Error: Could NOT find QtGlobal header -- Configuring done This setup used to work 1 or 2 months ago, when I last built kdelibs. I suspect the problem is that $QTDIR has to equal $KDEDIR now? If I override with: cmake -DCMAKE_INSTALL_PREFIX=$KDEDIR -DCMAKE_BUILD_TYPE=debug -DQT_LIBRARY_DIR=/home/kde4/celerysvn/qt-copy/lib -DQT_HEADERS_DIR=/home/kde4/celerysvn/qt-copy/include/ -DQT_BINARY_DIR=$QTDIR/bin -DQT_DOC_DIR=/home/kde4/celerysvn/qt-copy/doc -DQT_MKSPECS_DIR=/home/kde4/celerysvn/qt-copy/mkspecs/ -DQT_PLUGINS_DIR=/home/kde4/celerysvn/qt-copy/plugins/ -DQT_UIC_EXECUTABLE=/home/kde4/celerysvn/qt-copy/bin/uic -DQT_MOC_EXECUTABLE=/home/kde4/celerysvn/qt-copy/bin/moc it configures but the make fails part way through: [ 7%] Built target kmimetypetest [ 7%] Generating org.kde.KWallet.xml qdbuscpp2xml: could not execute moc! Aborting. make[2]: *** [kdeui/org.kde.KWallet.xml] Error 1 make[1]: *** [kdeui/CMakeFiles/kdeui.dir/all] Error 2 make: *** [all] Error 2 Thanks, Clarence [please CC me on replies] _______________________________________________ Kde-buildsystem mailing list [email protected] https://mail.kde.org/mailman/listinfo/kde-buildsystem
