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 846313
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T06:35:37+00:00 2026-05-15T06:35:37+00:00

I have to connect a Qt4 application to a mono Application. The current proof

  • 0

I have to connect a Qt4 application to a mono Application. The current proof of concept uses network sockets (which is nice, I can debug using nc on the command line).

But I am open to new suggestions. What are my alternatives?

Edit:

The original application stack is split into two parts: server + client. The client is supposed to show pictures and videos. Since we found that this is not possible in a sane way in Mono, we split the client into two parts:

server -> client -> GUI

In the original implementation the client+GUI were the same application. Now client is in C# (running on Mono), and the GUI is Qt4. Rewriting the client in Qt4 is not an option.

Right now the communication between the client and the GUI is been done using TCP sockets through localhost. I am looking for better implementations.

Edit2:
While the application currently runs on linux, I would like to get this system on windows as well. The client (which has a listening socket…) does work on Win32, and Qt4 is cross platform.

  • 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-05-15T06:35:37+00:00Added an answer on May 15, 2026 at 6:35 am

    You can:

    1. Embed Mono in your (presumably C++) Qt 4 app using the Mono embedding API.
    2. Invert (1) by exposing a C API from your GUI so you can control it from the Mono code using P/Invoke.
    3. Use a mixture of (1) and (2) – embed Mono, invoke it using embedding API, have it call back using P/Invoke.
    4. Use other IPC mechanisms such as Unix sockets or shared memory, which might be faster, and would avoid blocking an IP port.

    I’d recommend (3).

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

Sidebar

Related Questions

I'm building a multiplayer game app. The user will be have to connect to
Currently I have an application that takes information from a SQLite database and puts
I have to select a framework (or role my own) and one of the
I have a REST service that I'm trying to call. It requires something similar
I have a resource called Book, then I have domains like: domain.com/books/272 But I
I am using SmartFoxServer for a multiplayer game. I have it working fine when
Its quite possible I'm missing something obvious here; I hope so. I have been
I'm an emacs user considering getting a smartphone. I notice that a lot of
Currently my web.config has this: <appSettings> <add key=UserName /> <add key=DBServer /> <add key=DBUserName
I need to create a service that will send forex prices to thousands of

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.