<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'Roboto Condensed'; font-size:13pt; font-weight:400; font-style:normal;">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">On Friday 24 October 2014 11:49:55 AM Sahil Sehgal wrote:<br /></p>
<p style=" margin-top:12px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Hello,<br /><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">I was trying to build Okular (KDE application) in IDE (QT-creator and Kdevelop both). I did the following steps:<br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">1.) clonned the source code of Okular<br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">2.) loaded the source code in IDE<br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">3.) click on the build command.<br /><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">I got the following error<br /><span style=" color:#666666; background-color:#9900ff;"><br /></span></p>
<p style=" margin-top:12px; margin-bottom:12px; margin-left:80px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-weight:600; color:#000000; background-color:#ffffff;">/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/'<br />-- Found Qt-Version 5.2.1 (using /usr/bin/qmake)<br />CMake Error: The following variables are used in this project, but they are set to NOTFOUND.<br />Please set them or make sure they are set and tested correctly in the CMake files:<br />QT_QT_INCLUDE_DIR<br />   used as include directory in directory /home/sahil/my/New Folder/prog/okular/build/CMakeFiles/CMakeTmp<br /><br />CMake Error: Internal CMake error, TryCompile configure of cmake failed<br /><br />CMake Error at /usr/share/kde4/apps/cmake/modules/FindKDE4Internal.cmake:1316 (message):<br />  Unable to compile a basic Qt application.  Qt has not been found correctly.<br />Call Stack (most recent call first):<br />  /usr/share/cmake-2.8/Modules/FindKDE4.cmake:95 (find_package)<br />  CMakeLists.txt:3 (find_package)<br /><br /><br />-- Configuring incomplete, errors occurred!<br />See also "/home/sahil/my/New Folder/prog/okular/build/CMakeFiles/CMakeOutput.log".<br />See also "/home/sahil/my/New Folder/prog/okular/build/CMakeFiles/CMakeError.log".<br />*** Failure: Exit code 1 ***<br /></span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Please suggest the possible solution<br /><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Regards <br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Sahil Sehgal<br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /><br />Ohhh, that's because your Qt installations is not found by CMake, are you have installed Qt????</p></body></html>