X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2FCMakeLists.txt;h=a636eb20386a09103ba9250ed931169730e1bfc6;hp=e7525bfc4bc4521af23cc5f13ae113ab53b4da81;hb=2f83cb6d01ff68131528797020637887fe0e77b7;hpb=52df0969e22249e6758714eec9e5afd7d4fe9b83 diff --git a/src/qtui/CMakeLists.txt b/src/qtui/CMakeLists.txt index e7525bfc..a636eb20 100644 --- a/src/qtui/CMakeLists.txt +++ b/src/qtui/CMakeLists.txt @@ -2,6 +2,7 @@ set(QT_DONT_USE_QTGUI 0) set(QT_USE_QTNETWORK 1) +set(QT_USE_QTDBUS 1) include(${QT_USE_FILE}) set(SOURCES @@ -104,6 +105,7 @@ endforeach(FRM ${SP_FORMS}) qt4_wrap_cpp(MOC ${MOC_HDRS} ${SPHDR}) qt4_wrap_ui(UI ${FORMPATH} ${SPFRM}) +qt4_add_dbus_interface(DBUS ../../interfaces/org.freedesktop.Notifications.xml desktopnotifications) include_directories(${CMAKE_SOURCE_DIR}/src/common ${CMAKE_SOURCE_DIR}/src/client @@ -111,5 +113,5 @@ include_directories(${CMAKE_SOURCE_DIR}/src/common ${CMAKE_SOURCE_DIR}/src/uisupport ${CMAKE_CURRENT_BINARY_DIR}) -add_library(mod_qtui STATIC ${SOURCES} ${SPSRC} ${MOC} ${UI} ${HEADERS}) +add_library(mod_qtui STATIC ${SOURCES} ${SPSRC} ${MOC} ${DBUS} ${UI} ${HEADERS}) add_dependencies(mod_qtui mod_common mod_client mod_uisupport)