Hello

While I was trying to load source code to Qt creator following the steps
given on
http://techbase.kde.org/Development/Tutorials/Using_Qt_Creator#use_code_from_your_disk


In the Run Cmake dialog,on entering the arguement



*/home/gaurav/okular -DCMAKE_INSTALL_PREFIX=/usr/local -DLIB_SUFFIX=64
-DCMAKE_BUILD_TYPE=debugfull *
because /home/gaurav/okular is the directory where my source code lies.
On "Run cmake", it gave the following error.





 CMake Error: Internal CMake error, TryCompile configure of cmake failed

CMake Error at
/usr/share/kde4/apps/cmake/modules/FindKDE4Internal.cmake:1311 (message):

Unable to compile a basic Qt application. Qt has not been found correctly.

Call Stack (most recent call first):

/usr/share/cmake-2.8/Modules/FindKDE4.cmake:95 (find_package)

CMakeLists.txt:3 (find_package)

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

used as include directory in directory
/home/gaurav/okular/CMakeFiles/CMakeTmp

-- Found Qt-Version 4.8.4 (using /usr/bin/qmake)

-- Configuring incomplete, errors occurred!


Please help me fix the issue.


Thanks,


Gaurav
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

Reply via email to