platform indipendent Interprocess-Communication



  • Hi,

    i am looking for a way to communicate between two processes.

    Both processes are Qt-based. I would like to have my Programm to work on Linux and Windows. So the QtDBus-implementation would not work. Also it will take place in a embedded System.
    Also i am able to start one process with QProcess and i already found out that i can comunicate from the QProcess to the "main"-process. (readyReadStandardOutput, readAllStandardOutput). Is it possible to write data (or give signal-Slot-handling) from the main process to the qprocess?

    Or wouldnt this be a great Feature for future qt version?

    regards


  • Moderators

    @louis
    a technique almost every platform supports is sockets.



  • thank you.

    i found the ipc example which use

    QLocalServer
    #include <qlocalserver.h>
    #include <qlocalsocket.h>

    i will try my luck with these.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.