Ok, I finally figured it out. I looked in the book "C++ GUI Programming With Qt4" and found out the easy (and correct) way. In the header file's "private" section, I placed "QProcess proc". In the source file, I connected proc to the proces error event handler like so:
connect(&proc,SIGNAL(error(QProcess::ProcessError) ),this,SLOT(onProcessError(QProcess::ProcessError) ));
To start the process I used this:
proc.start(appString,argList);
This line of code IS NOT NEEDED AT ALL:
QProcess *proc=new QProcess(this);
Now the process error handler works, too! It's way different that Qt3, takes me a while to learn.
Bookmarks