How to use QDBUS_ADD_INTERFACES cmake macro?

Gary Cramblitt garycramblitt at comcast.net
Sat Jun 17 18:19:54 BST 2006


Volker pointed out I can make the CMakeLists.txt file even simpler.  For 
benefit of others, here's the corrected file:

----
set(kttsmgr_SRCS 
    kttsmgr.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 )
----

But the install question remains.

>
> Next question:  What should I put in the
> kdelibs/interfaces/kspeech/CMakeLists.txt to install the
> org.kde.KSpeech.xml file so apps can use it like I've done above?  ATM,
> I've put a copy of org.kde.KSpeech.xml in the kttsmgr source directory.

-- 
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