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 independent, Qt solution to IPC
Qt 6.11 is out! See what's new in the release blog

Platform independent, Qt solution to IPC

Scheduled Pinned Locked Moved General and Desktop
4 Posts 3 Posters 1.6k Views 1 Watching
  • 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.
  • M Offline
    M Offline
    moravas
    wrote on last edited by
    #1

    Hi Folks,

    I architect a new project that will works on lots of datas. I thought that I will use shared memory to send those data from ProcessA to ProcessB but I will need many control signals which will only "void foo()" like methods or they will have to send one or two enums as command parameters.
    I used and I like to Signal-Slot solution from the Qt but if I know well, this works only between threads and one embedded solution from Qt supports its extension between processes.

    My question is: what is your suggestions to use to signaling the processes each other? I am looking for an operating system independent solution that is available or solvable in Qt but independent from the target OS (Windows / Linux).

    Regards,
    Norbert

    1 Reply Last reply
    0
    • S Offline
      S Offline
      steno
      wrote on last edited by
      #2

      "Here are a couple examples of inter process communication":http://qt-project.org/doc/qt-5/ipc.html

      1 Reply Last reply
      0
      • M Offline
        M Offline
        moravas
        wrote on last edited by
        #3

        Hi,

        thank you for your reply, but:

        • shared memory seems me to it is not realy for sending and receaving commands
        • D-Bus protocol is Linux or Unix like only
        • Qprocess seems to me that it provides only support for connect signals and slots each other in same process
        • Session management is Linux only

        Maybe, the TCP/IP socket will be good but like shared memory: I think that it is better for sending datas. Is any solution to invoke into another lib of another process?

        Regards,
        Norbert

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi,

          You might be interested by "QxtRPCService":http://libqxt.bitbucket.org/doc/0.6/qxtrpcservice.html

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          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