Talk:Development/Tutorials/D-Bus/Creating Interfaces

The CMake section needs some love from someone who actually knows how this stuff works. I'm getting 'Unknown CMake command "qt4_add_dbus_adaptor".' from CMake so the CMakeLists.txt files obviously need some magic to make the DBUS stuff work. — Japsu 21:00, 18 February 2007 (CET)

The following can be automated using cmake as well: $> qdbuscpp2xml -M -s background.h -o using add_custom_command( OUTPUT

   COMMAND qdbuscpp2xml -M -s ${CMAKE_CURRENT_SOURCE_DIR}/background.h -o
   DEPENDS background.h

) And for this I had to change the following: QT4_ADD_DBUS_ADAPTOR(foo_SRCS

                    background.h Background)


                    background.h Background)

Submitted by — Yogesh Marwaha (4 October 2008)

This page was last edited on 4 October 2008, at 15:45. Content is available under Creative Commons License SA 4.0 unless otherwise noted.