Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Signal not emitted over QDbus
Forum Updated to NodeBB v4.3 + New Features

Signal not emitted over QDbus

Scheduled Pinned Locked Moved Unsolved General and Desktop
qdbussignal&slot
1 Posts 1 Posters 908 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • wenzelW Offline
    wenzelW Offline
    wenzel
    wrote on last edited by
    #1

    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 => https://github.com/Wenzel/procexp_helper/tree/01

    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 !

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved