Registered Member
|
I follow http://techbase.kde.org/Development/Tut ... st_program
Trying to execute: $ cmake . -- Found Qt-Version 5.0.2 (using /usr/bin/qmake) CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: QT_QT_INCLUDE_DIR used as include directory in directory /home/alex/Programming Projects/CMakeFiles/CMakeTmp CMake Error: Internal CMake error, TryCompile configure of cmake failed CMake Error at /usr/share/kde4/apps/cmake/modules/FindKDE4Internal.cmake:1311 (message): Unable to compile a basic Qt application. Qt has not been found correctly. Call Stack (most recent call first): /usr/share/cmake-2.8/Modules/FindKDE4.cmake:95 (find_package) CMakeLists.txt:2 (find_package) -- Configuring incomplete, errors occurred! |
Administrator
|
Those tutorials are intended for use with Qt 4 rather than Qt 5 - which is probably why it is failing to configure.
You need to install Qt 4 development headers, and make the appropriate changes to ensure it is found instead (this tends to be distribution specific unfortunately).
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered users: bartoloni, Bing [Bot], Google [Bot], Sogou [Bot]