How to use QDBUS_ADD_INTERFACES cmake macro?
Gary Cramblitt
garycramblitt at comcast.net
Fri Jun 16 02:31:30 BST 2006
I tried this is my CMakeLists.txt file:
-----
set(kttsmgr_SRCS
kttsmgr.cpp
kspeechinterface.cpp )
QDBUS_ADD_INTERFACES(${kttsmgr_SRCS} org.kde.KSpeech.xml )
kde4_automoc(${kttsmgr_SRCS})
kde4_add_executable(kttsmgr ${kttsmgr_SRCS})
target_link_libraries(kttsmgr
${KDE4_KDECORE_LIBS}
${KDE4_KDEUI_LIBS}
${KDE4_KUTILS_LIBS} )
install_targets(/bin kttsmgr )
-----
I placed a copy of org.kde.KSpeech.xml in the kttsmgr source directory.
But I'm getting
make[2]: *** No rule to make target
`../kdeaccessibility/kttsd/kttsmgr/kspeechinterface.cpp', needed by
`kttsd/kttsmgr/kspeechinterface.cpp'. Stop.
--
Gary Cramblitt (aka PhantomsDad)
KDE Text-to-Speech Maintainer
http://accessibility.kde.org/developer/kttsd/index.php
More information about the kde-core-devel
mailing list