Results 1 to 3 of 3

Thread: need DBus help

  1. #1
    Join Date
    Sep 2008
    Posts
    58
    Thanks
    11
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11

    Question need DBus help

    Hi,

    I have been using Qt embedded 4.4, I am using Dbus to communicate between two process.

    I have ./qt process manages GUI related stuffs. Another is ./Mymain process manages the hardware related stuffs.

    I have registered the Dbus service from ./qt process and created the interface in ./Mymain process, I am able to call function of ./qt process from ./Mymain process.
    But I want click event intimation from ./qt process to ./Mymain process.

    How would be it possible that whenever any button is clicked in ./qt process would call function in ./Mymain process. Is it possible to call function from Register services to interface?

    ( I have seen car and controller example - controller is polling the status of car whereather connected or not? but i dont want to poll.. Is there any window? )

    Please can anybody tell me how to solve this issue?

  2. #2
    Join Date
    Sep 2008
    Posts
    58
    Thanks
    11
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11

    Default Re: need DBus help

    I am not able to send signal from one process to another.

    I want to connect to Local singnal to remote object SLOT.

    What should i write in connect(localObject, SIGNAL(..), remoteObject, SLOT(..)),

  3. #3
    Join Date
    Sep 2008
    Posts
    58
    Thanks
    11
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11

    Post Dbus service registraton

    Hi,

    I have registered service and object from one process say a.
    I have created interface of that service at given path in process say b.
    Now I am able to call method of process a from process b.

    But reverse is not possible, How to call method or send signal of process b from process a without registering new service and object of process b.

    Or its compulsory to register object from any process if i want to call method of signal.

    I have doubt regarding this dbus implementation.

    Please you suggestion would be a great help for me.

Similar Threads

  1. DBus on windows?
    By talk2amulya in forum Qt Programming
    Replies: 4
    Last Post: 30th March 2009, 11:11
  2. DBus over Network?
    By shensel in forum Qt Programming
    Replies: 5
    Last Post: 26th March 2009, 11:12
  3. Qt on maemo DBus
    By mrudulpen in forum Newbie
    Replies: 1
    Last Post: 16th March 2009, 12:14
  4. DBus daemon not starting
    By Khal Drogo in forum Qt Programming
    Replies: 5
    Last Post: 7th August 2008, 15:12
  5. DBus and IPC
    By DrDonut in forum Qt Programming
    Replies: 3
    Last Post: 22nd March 2008, 23:42

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.