[CMake] Problem using QT_WRAP_UI

Christian Koerner christian.koerner at aon.at
Fri May 19 06:37:25 EDT 2006


Hi,

I have a problem using cmake in combination with QT. QT_WRAP_CPP works
perfectly.

But when I use QT_WRAP_UI no .h and .cxx files are generated. Is there
anything I forgot regarding QT_WRAP_UI?

----------------------snip--------------------------

SET(IMEDGINE_UI_SOURCELIST gui/ui/TestDialog.ui)

QT_WRAP_UI(IMEDGINE_UI_LIB IMEDGINE_UI_SRC_FILES IMEDGINE_UI_H_FILES
IMEDGINE_UI_SOURCELIST)


----------------------snip--------------------------

I want to subclass another class from TestDialog. When I use

#include gui/ui/TestDialog.h

the file cannot be found.


Thanks in advance.

Chris


More information about the CMake mailing list