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. platform indipendent Interprocess-Communication

platform indipendent Interprocess-Communication

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 685 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.
  • L Offline
    L Offline
    louis
    wrote on last edited by
    #1

    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

    raven-worxR 1 Reply Last reply
    0
    • L louis

      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

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      @louis
      a technique almost every platform supports is sockets.

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      1
      • L Offline
        L Offline
        louis
        wrote on last edited by
        #3

        thank you.

        i found the ipc example which use

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

        i will try my luck with these.

        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