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. IPC between QT and C#
Forum Updated to NodeBB v4.3 + New Features

IPC between QT and C#

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 2.8k 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.
  • A Offline
    A Offline
    aRcleR
    wrote on last edited by
    #1

    Hi everybody, I have tried to found the best way to make an IPC between Qt and C# and I don't achieved. I need to constantly send messages to and from Qt and C#. I have thought in:
    QSharedMemory
    QDBus
    QAbstractSocket
    QProcess

    So, What do you think it's the best way to communicate between the 2 processes?
    I have tried to use QSharedMemory but I don't know how share this memory to C#? Anyone have an example or know how do that? I preffer this option because there are a lot of messages traffic within both processes and I think that it's the most speed option.

    But I don't have discarded any other..

    Please, any suggestion will be appreciated.

    Thanks!

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

      I had the same problem and solved it using QTcpServer and QDataStream on the Qt side and TcpClient and a handmade streaming class on CLR side.

      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