[CMake] can't link simple qt example
Pau Garcia i Quiles
pgquiles at elpauer.org
Mon Dec 7 16:46:31 EST 2009
> One thing of note: In order for QT4_AUTOMOC to work, I had to move the
> definition of the Pixmap class into a new header file named main.h. It seems
> in general putting your Q_OBJECT class defs in a header is required when
> building Qt projects under CMake... but there's probably some way around it.
That's probably related to this bug:
http://public.kitware.com/Bug/view.php?id=9955
--
Pau Garcia i Quiles
http://www.elpauer.org
(Due to my workload, I may need 10 days to answer)
More information about the CMake
mailing list