the problem why kdelibs does not compile: there is no Q_WS_X11 defined in my qt5 source.
Run Build Command:/usr/bin/make "cmTryCompileExec3363922561/fast" /usr/bin/make -f CMakeFiles/cmTryCompileExec3363922561.dir/build.make CMakeFiles/cmTryCompileExec3363922561.dir/build make[1]: Entering directory '/media/hdd/src/kde/build/kde/kdelibs/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /media/hdd/src/kde/build/kde/kdelibs/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3363922561.dir/CheckSymbolExists.c.o /usr/bin/cc -I/media/hdd/src/kde/qt5/qtbase/include -o CMakeFiles/cmTryCompileExec3363922561.dir/CheckSymbolExists.c.o -c /media/hdd/src/kde/build/kde/kdelibs/CMakeFiles/CMakeTmp/CheckSymbolExists.c /media/hdd/src/kde/build/kde/kdelibs/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In Funktion »main«: /media/hdd/src/kde/build/kde/kdelibs/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: Fehler: »Q_WS_X11« nicht deklariert (erste Benutzung in dieser Funktion) return ((int*)(&Q_WS_X11))[argc]; ^ /media/hdd/src/kde/build/kde/kdelibs/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: Anmerkung: jeder nicht deklarierte Bezeichner wird nur einmal für jede Funktion, in der er vorkommt, gemeldet CMakeFiles/cmTryCompileExec3363922561.dir/build.make:60: recipe for target 'CMakeFiles/cmTryCompileExec3363922561.dir/CheckSymbolExists.c.o' failed make[1]: *** [CMakeFiles/cmTryCompileExec3363922561.dir/CheckSymbolExists.c.o] Error 1 make[1]: Leaving directory '/media/hdd/src/kde/build/kde/kdelibs/CMakeFiles/CMakeTmp' Makefile:117: recipe for target 'cmTryCompileExec3363922561/fast' failed make: *** [cmTryCompileExec3363922561/fast] Error 2 File /media/hdd/src/kde/build/kde/kdelibs/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include <QtCore/qglobal.h> int main(int argc, char** argv) { (void)argv; #ifndef Q_WS_X11 return ((int*)(&Q_WS_X11))[argc]; #else (void)argc; return 0; #endif } On 03.01.2014 18:01, Samuel Memmel wrote: > On 03.01.2014 15:41, Burkhard Lück wrote: >> Am Freitag, 3. Januar 2014, 14:58:01 schrieb Samuel Memmel: >> >>> I only find plasma-framework if I search for PlasmaConfig.cmake but >>> plasma-framework won't compile and it is located in the playground >> >> But you will need plasma-framework (with KF5PlasmaConfig.cmake.in), see >> http://community.kde.org/Frameworks/Building/Details >> > It's me again. I can't compile kdelibs. cmake break... > > cmake says it can't find QtCore but QtCore and qglobal.h are at the > right place. > > echo $QTDIR > /media/hdd/src/kde/qt5/qtbase > > the environment variables depending on qtdir are also correct (PATH, > QT_PLUGIN_PATH, QML2_IMPORT_PATH) > > The file qglobal.h is at the right place: > /media/hdd/src/kde/qt5/qtbase/include/QtCore/qglobal.h > > > qtdir in ~/.kdesrc-buildrc is set to /media/hdd/src/kde/qt5/qtbase but > testing it, it don't makes any difference if it is set to qtdir > /media/hdd/src/kde/qt5/ > > Here are the interesting parts of the build logs: > > cmake.log > > CMake Error at cmake/modules/FindQt4.cmake:886 (MESSAGE): > Could NOT find QtCore. Check > /media/hdd/src/kde/build/kde/kdelibs/CMakeFiles/CMakeError.log for more > details. > Call Stack (most recent call first): > cmake/modules/FindKDE4Internal.cmake:420 (find_package) > CMakeLists.txt:56 (find_package) > > > -- Configuring incomplete, errors occurred! > See also "/media/hdd/src/kde/build/kde/kdelibs/CMakeFiles/CMakeOutput.log". > See also "/media/hdd/src/kde/build/kde/kdelibs/CMakeFiles/CMakeError.log". > > CMakeError.log: > File > /media/hdd/src/kde/build/kde/kdelibs/CMakeFiles/CMakeTmp/CheckSymbolExists.c: > /* */ > #include <QtCore/qglobal.h> > > int main(int argc, char** argv) > { > (void)argv; > #ifndef Q_WS_MAC > return ((int*)(&Q_WS_MAC))[argc]; > #else > (void)argc; > return 0; > #endif > } > > > ___________________________________________________ This message is from the kde mailing list. Account management: https://mail.kde.org/mailman/listinfo/kde. Archives: http://lists.kde.org/. More info: http://www.kde.org/faq.html.