N
N
nika092017-04-29 18:28:48
Qt
nika09, 2017-04-29 18:28:48

How to run another program from QT?

How to make it so that when you click on the button, another program would start and the application would end in QT?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Ighor July, 2017-04-29
@nika09

QProcess::startDetached("app.exe");
QCoreApplication::quit();

D
Daniel Demidko, 2017-04-30
@DanielDemidko

And what did the classics like system("app.exe") not suit?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question