Hello!
I want my application to execute the other application, so I wrote code like this:
void MainWindow::runApp()
{
}
void MainWindow::runApp()
{
QProcess *proc;
proc = new QProcess( this );
proc->start("/app", QStringList() << "-qws");
}
To copy to clipboard, switch view to plain text mode
It's slot triggered by button. Application runs, but when I close It parent application is closing too with:
QProcess: Destroyed
while process is still running
QProcess: Destroyed while process is still running
To copy to clipboard, switch view to plain text mode
What I'm doing wrong?
thanks in advance
best regards
Tomasz
Bookmarks