lists.zerezo.com
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
***BOGO*** [OT] Error in cmake use
- Date: Fri, 4 Jul 2008 18:17:17 -0300
- From: "Wagner Sales" <wsales@xxxxxxxxx>
- Subject: ***BOGO*** [OT] Error in cmake use
Hi all,
Sorry, I know that's aren't the correct place to post this question. But I think here are the most experts users in this field :)
I'm using CMake to configure my project with Qt4. The problem are if I don't use Qt XML module in project ( QDomElement, etc ) all works fine.
But, if I use, the following problem occurs:
.
.
.
/data/head/rc1/App/src/Entity.h:11:23: error: QDomElement: No such file or directory
.
.
.
Appears that's CMake ( 2.6 ) are not found the Qt XML includes.
My portion of CMakeLists.txt:
SET(rccs forms.qrc icons.qrc wizard.qrc)
QT4_ADD_RESOURCES(rccsrcs ${rccs})
QT4_WRAP_UI(uiheaders ${uis})
QT4_WRAP_CPP(mocsrcs ${qtheaders})
ADD_DEFINITIONS(-DQT_GUI_LIBS -DQT_CORE_LIB -DQT3_SUPPORT -DQT_XML_LIB -DQT_SHARED)
SET_SOURCE_FILES_PROPERTIES(${cpps} PROPERTIES
OBJECT_DEPENDS "${uiheaders}")
ADD_EXECUTABLE(app ${cpps} ${mocsrcs} ${rccsrcs})
TARGET_LINK_LIBRARIES( app
${QT_LIBRARIES}
)
Any help?
I'm searching to CMakeLists.txt in kde websvn to find some example, but yet without success.
Thks in advance,
Wagner Sales
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<