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.