Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9268801
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T14:57:05+00:00 2026-06-18T14:57:05+00:00

I need to send/receive data between two processes. One of them will be using

  • 0

I need to send/receive data between two processes. One of them will be using Qt (4 or 5).
That process will be running all the time (like a background process).

The other process will be launched and then it should be able to send argv to the
first process and receive some answer from it.

The second process must startup as fast as possible so using QtCore is kind of a last resourse. Meaning I need it to be as small and fast as possible, so I’d need to use plain
C/C++ without any external libraries.

Any ideas how it could be done?

If that’s not possible, I’ll have to use QtCore in the second process. Do you know how much
slower it would be because of QtCore vs plain C/C++? (in terms of startup time).

Regards

EDIT:

I can’t use QBus as this must be Mac/Linux/Windows compatible.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T14:57:06+00:00Added an answer on June 18, 2026 at 2:57 pm

    If it needs to be fully cross platform compatible your best bet is likely to be named sockets/named pipes, which should work on each platform. Should take you to the information you need for the socket setup. You’ll still need some network handling code in your pure C++ application, but it should be significantly less overhead than Qt-Core and Qt-Network.

    You could also do it with shared memory, but I prefer the socket method for simplicity.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i need to send and receive data to/from a microcontroller using java using usb
I'm looking to work on an iOS app that would need to send/receive data
I would like to send data between two ethernet interfaces that are connected with
I need to transfer data(generally text) between two android devices using socket implementation, i.e,
Ok i need to use json on my iOS application to send/receive data to/from
I need to send and receive data over serial connections (RS-232 and RS-422). How
I'm developing an application that will need to communicate with itself running on different
We need send data to our users' devices using the TFTP protocol, which is
I have a class that Handles send & receive over a socket between my
I have multiple app processes that each connect to servers and receive data from

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.