Results 1 to 8 of 8

Thread: Commnication between two seprate application running on same machine through D-Bus.

  1. #1
    Join Date
    May 2010
    Posts
    100
    Thanks
    1
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Commnication between two seprate application running on same machine through D-Bus.

    hi all,

    I want to use the d-bus on my qt application and the other application which is connected in the network. My both applications namely QT and SERVER application will run on PIC32 Controllers. I have studied about the D-Bus and get the idea about the client-server model.And istalled the D-bus library.

    My design idea is that,on certain evernts on LCD ,qt will send events to the server and when server wants to dislay some messages on LCD than it will send the message string through the d-bus. But,This is just my asumption. I dont know if this is possible and how?

    Can any one please guide me about this.?
    what should i do to send or recv some messages to the QT application ,which will display this messages on LCD?
    How can be this done?

    Expecting a reply .Thanks.

  2. #2
    Join Date
    May 2010
    Posts
    100
    Thanks
    1
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: Commnication between two seprate application running on same machine through D-Bu

    hello,


    I am going ahead with the QT d-bus protocol. I need to check it the prelimanary requirements.
    I have checked and read some tutorials and now i have one doubt.My qt application will be a client and another application will be a
    server.

    Now, in this case qt appln will demand a service a from the server,which is entirely written in "C" Language. server will have to
    register its services and objects. Now as i told u it is written in "C",how can i register the service and objects? I dont have any class to register
    and any object.

    how can this be possible.pease guide me.
    thanks to all.

  3. #3
    Join Date
    May 2010
    Posts
    100
    Thanks
    1
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: Commnication between two seprate application running on same machine through D-Bu

    helllow,all

    no body is replying?pls reply me freinds.i am stucked into my work.

  4. #4
    Join Date
    May 2010
    Posts
    100
    Thanks
    1
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: Commnication between two seprate application running on same machine through D-Bu

    ohhhhhhh too long.


    Finally,no body is capable of guiding and solving the issue like this.very bad.

    Any way thnks to the suporters.

  5. #5
    Join Date
    Jun 2010
    Posts
    2
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows Symbian S60

    Default Re: Commnication between two seprate application running on same machine through D-Bu

    Build server application as a qt application.Is should work.

  6. #6
    Join Date
    May 2010
    Posts
    100
    Thanks
    1
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: Commnication between two seprate application running on same machine through D-Bu

    Thanks for that.Thats right.

    But i dont want that. I want communication between qt and nonqt application.I dont want to make server application a qt application.
    please guide me on this.

  7. #7
    Join Date
    Jun 2010
    Posts
    2
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: Commnication between two seprate application running on same machine through D-Bu

    Hi, I'm just a beginner with Qt but maybe you could write a qt library for the "C" server. The Qt library should handle the communication with d-bus.

  8. #8
    Join Date
    May 2010
    Posts
    100
    Thanks
    1
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: Commnication between two seprate application running on same machine through D-Bu

    No need to make a qt library. I have done this. And my remote application can call the qt cunftion. Remote application is a client and is written using glib and dbus.

    Any way thanks.

Similar Threads

  1. Replies: 7
    Last Post: 29th January 2009, 19:47
  2. Deploying application on Linux machine without Qt
    By will49 in forum Installation and Deployment
    Replies: 2
    Last Post: 10th July 2008, 22:41
  3. Replies: 8
    Last Post: 9th May 2008, 16:54
  4. Replies: 3
    Last Post: 5th February 2008, 06:32
  5. Running application on Mac OS X
    By munna in forum General Discussion
    Replies: 1
    Last Post: 19th April 2006, 20:10

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.