With autotools I can make any package build successfully. But this is not the case of cmake. The only cmake app I have in KDE:KDE# already poses an unsolvable problem.
When I try to build kad, I receive:
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_INCLUDE_DIR (ADVANCED)
Any ideas on how to solve this problem?
I tried to add SET(QT_INCLUDE_DIR /usr/lib/qt3/include) to CMakeLists.txt, but this does not help.
On Thu, Jun 16, 2011 at 10:00, Ilya Chernykh anixxsus@gmail.com wrote:
With autotools I can make any package build successfully. But this is not the case of cmake. The only cmake app I have in KDE:KDE# already poses an unsolvable problem.
When I try to build kad, I receive:
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_INCLUDE_DIR (ADVANCED)
Any ideas on how to solve this problem?
I tried to add SET(QT_INCLUDE_DIR /usr/lib/qt3/include) to CMakeLists.txt, but this does not help.
-DQT_INCLUDE_DIR=/usr/lib/qt3/include
On Friday 17 June 2011 06:26:56 Robert Xu wrote:
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_INCLUDE_DIR (ADVANCED)
Any ideas on how to solve this problem?
I tried to add SET(QT_INCLUDE_DIR /usr/lib/qt3/include) to CMakeLists.txt, but this does not help.
-DQT_INCLUDE_DIR=/usr/lib/qt3/include
Oh no. This was first I tried. This variable is ADVANCED and as such it cannot be set up from the command line. But even if to set it up in the CMakeLists.txt file, it does not work.