Important: Please read the Qt Code of Conduct -

Add external program into existing qt application

  • Hello, so I have an C++/SFML program running in Qt Creator that runs when I compile it, but I also have a Viewport created using Qt, I'd like to add my external program into the Viewport on a certain location. So when I click start on the Viewport, the external application will start up in the same window. Could anyone help me please?

  • Lifetime Qt Champion

    It is not clear what you really want to do:

    • Do you want to run C++/SFML program in its own process and control it through your viewport?
    • Or do you want to integrate the C++/SFML into your viewport, so you only have one executable?

Log in to reply