[CMake] Fwd: Error in compiling OKULAR using CMAKE

Alexander Neundorf a.neundorf-work at gmx.net
Fri Oct 24 16:37:47 EDT 2014


On Friday, October 24, 2014 11:49:55 Sahil Sehgal wrote:
> Hello,
> 
> I was trying to build Okular (KDE application) in IDE (QT-creator and
> Kdevelop both). I did the following steps:
> 1.) clonned the source code of Okular
> 2.) loaded the source code in IDE
> 3.) click on the build command.
> 
> I got the following error
> 
> 
> */home/sahil/my/New Folder/prog/okular/build> /usr/bin/cmake
> -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_BUILD_TYPE=Debug
> '/home/sahil/my/New Folder/prog/okular/'-- Found Qt-Version 5.2.1 (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

the Qt include dir has not been found. Do you have the Qt development packages 
installed ?

Alex



More information about the CMake mailing list