My QProcess which is the command line version of my application that I am designing a GUI has really weird behaviour.
These are the signals I connect before starting the QProcess. What is happening is when the process has a problem like being unable to open the input file, the QProcess does not actually finish or exit. When looking at CPU usage the QProcess stays open but dormant at 0% usage.
connect(CGC, SIGNAL(started()), this, SLOT(SV_CGC_Started()));
connect(CGC, SIGNAL(finished(int,QProcess::ExitStatus)), this, SLOT(SV_CGC_Ended(int,QProcess::ExitStatus)));
connect(CGC, SIGNAL(readyRead()), this, SLOT(SV_CGC_readyRead()));
CGC->start(program,arguments);
Very stumped on this one.
Bookmarks