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.