Making an app launch an app
General and Desktop
6
Posts
3
Posters
1.4k
Views
1
Watching
-
Hey!
I was wondering if there is a way to launch an application from another application. I have made 2 applications (app A and app B for our purposes). Is there a way that I could create a button in App A that when clicked would launch App B? The answer is probably obvious, but any help would be greatly appreciated.
Thanks! -
-
Or if you want to have the first app to fire and forget you can use QProcess::startDetached().
http://qt-project.org/doc/qt-5.0/qtcore/qprocess.html#static-public-members
But then you lose the control of the new app.