Signal not emitted over QDbus

  • Hi !

    I'm trying to use the QDbus API to create a simple client/server application for testing purposes.
    I created a class which contains a signal to be exported as my API over DBus.
    I added a server to register the service and emit the signal as well as a client in which i connected
    the signal to a slot.

    Unfortunately, it's not working. :(
    You can view the code here =>

    I tried to use dbus-monitor to view signals sent by the server, but I saw nothing.
    Therefore I think that the issue lies in the server.
    Maybe I forgot something required to send a signal over DBus ?

    If someone who has experience in developing Qt application with DBus API could look at the code
    and tell me what wrong, I would really appreciate !

    Thanks !

Log in to reply