automoc4 issues ?
Helio Chissini de Castro
helio at kde.org
Thu Mar 5 20:11:22 CET 2009
Hi
I'm trying to use automoc in a plugin system and got some issues.
I have:
set( Core_SRCS editormanager/openeditorsview.cpp )
set( Core_UI editormanager/openeditorsview.ui )
set( Core_MOC_HDRS editormanager/openeditorsview.h )
qt4_wrap_ui( Core_UI_SRCS ${Core_UI} )
qt4_wrap_cpp( Core_MOC_SRCS ${Core_MOC_HDRS}
*************************
If i use:
automoc4_add_library( Core SHARED ${Core_UI_SRCS} ${Core_SRCS} )
i got
[ 0%] Building CXX object
src/plugins/coreplugin/CMakeFiles/Core.dir/Core_automoc.cpp.o
In file included from /home/lixo/packages/qt-creator/BUILD/qt-creator-1.0.0-
src/build/src/plugins/coreplugin/moc_openeditorsview.cpp:11,
from /home/lixo/packages/qt-creator/BUILD/qt-creator-1.0.0-
src/build/src/plugins/coreplugin/Core_automoc.cpp:32:
/home/lixo/packages/qt-creator/BUILD/qt-creator-1.0.0-
src/build/src/plugins/coreplugin/../../../../src/plugins/coreplugin/editormanager/openeditorsview.h:71:
error: 'OpenEditorsView' in namespace 'Core::Internal::Ui' does not name a
type
****************************************
if i use:
add_library( Core SHARED ${Core_MOC_SRCS} ${Core_UI_SRCS} ${Core_SRCS} )
it works.
****************************************
Is there something missing ?
--
Helio Chissini de Castro
KDE Developer
Brasil/South America Primary Contact
More information about the Kde-buildsystem
mailing list