[Rock-dev] Rock CMake Macro: rock_find_qt4

Allan E. Conquest allan.conquest at dfki.de
Tue Nov 8 18:58:06 CET 2011


Hi,

I want to use Qt4 in a Rock Library. So I need to reference the Qt4
includes. I tried this macro in my CMakeLists.txt but my sample include
in the Library is still not compiling:


#include<QColor>

fatal error: QColor: File or Directory not found.


In the CMakeLists.txt I try to use the macro as follows:


include($ENV{ROCK_CMAKE_MACROS}/Rock.cmake)
rock_find_qt4()


Does anybody have experience working with Qt4 in ROCK and is able to
help me out?

Thanks,

Allan


More information about the Rock-dev mailing list