Qt 5.6 | Qt D-Bus | D-Bus Chat Example | chat.pro Example File

Qt 5.6.2 Reference Documentation

# chat.pro Example File

chat/chat.pro

      QT += dbus widgets

      HEADERS += chat.h
      SOURCES += chat.cpp
      FORMS += chatmainwindow.ui chatsetnickname.ui

      DBUS_ADAPTORS += org.example.chat.xml
      DBUS_INTERFACES += org.example.chat.xml

      # install
      target.path = $$[QT_INSTALL_EXAMPLES]/dbus/chat
      INSTALLS += target