QProcess *proc
= new QProcess(NULL);
// no parents cause i dont want to bind those two applications, i just want to start it without parent....
QProcess *proc = new QProcess(NULL); // no parents cause i dont want to bind those two applications, i just want to start it without parent....
To copy to clipboard, switch view to plain text mode
It looks like you are using a local pointer 'proc'.
At the end of the function it will be destroyed - no wonder the application crashes.
You have to make your QProcess pointer a member, and it has to live as long as the process you are running with it lives.
Bookmarks