[Rock-dev] Rock CMake Macro: rock_find_qt4

Alexander Duda Alexander.Duda at dfki.de
Wed Nov 9 00:56:17 CET 2011


the subfolders are not included by the macro  
use #include<QtGui/QColor>

I hope you are not planning to put the library into an orocos task which is in general a bad idea because you will have no separation between the GUI and the algorithm.

Alex

Am 08.11.2011 um 18:58 schrieb Allan E. Conquest:

> 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
> _______________________________________________
> Rock-dev mailing list
> Rock-dev at dfki.de
> http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev



More information about the Rock-dev mailing list