[Gammaray-interest] Compile with QtSdk installed

Stefano Cordibella stefano.cordibella at edalab.it
Thu Feb 9 13:15:47 CET 2012


Hi all,
     I am trying to compile latest snapshot in a linux box where is 
installed QtSdk and no other Qt library installed system wide.

I am getting the following error:
-- Building GammaRay 1.1.50 (revision: e09ffa1) in Release mode
CMake Error at 
/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:91 
(MESSAGE):
   Could NOT find Qt4 (missing: QT_QMAKE_EXECUTABLE QT_MOC_EXECUTABLE
   QT_RCC_EXECUTABLE QT_UIC_EXECUTABLE QT_INCLUDE_DIR QT_LIBRARY_DIR
   QT_QTCORE_LIBRARY) (Required is at least version "4.7.0")
Call Stack (most recent call first):
   /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:252 
(_FPHSA_FAILURE_MESSAGE)
   /usr/share/cmake-2.8/Modules/FindQt4.cmake:1162 
(FIND_PACKAGE_HANDLE_STANDARD_ARGS)
   CMakeLists.txt:73 (find_package)
I think that depends on the lack of a Qt4 installation system wide.
I'm not an expert in CMake, is there any way to tell CMake what kind of 
Qt4 version use during build process?
I have tryed to set environ vars like QT_QMAKE_EXECUTABLE and others, 
but without success.

Thanks in advance,
Stefano.

-- 
Dott. Stefano Cordibella
---------------------------------------------
EDALab - Networked Embedded Systems
C.S. Dept - University of Verona - IT
---------------------------------------------
email : stefano.cordibella at edalab.it
skype : stefano.cordibella
tel.  : +39 045 802 70 85
web   : www.edalab.it



More information about the Gammaray-interest mailing list