Qt5.5.1
QtCreator 3.5.1
Windows 7

Hello,

I'm runnning a QProcess, and it runs fine. (7z, command line version of 7Zip)
The command I'm running outputs to the command prompt console continuously changing the % value
of the un-zipping progress. Run from the command prompt, shows:-
Qt Code:
  1. 15% - myFile.zip
To copy to clipboard, switch view to plain text mode 
What I can't work out is how to redirect the console to my program, so I can show a progress bar.
I underatand the QPogressBar procedures.
Thanks for any advice offered.

Regards
Qt Code:
  1. process->setProcessChannelMode(QProcess::ForwardedChannels);
  2. process->start(cmd);
  3. do {
  4. delay(1000); //processes events
  5. qDebug() << "o - " << (process->readAllStandardOutput());
  6. qDebug() << "e - " << (process->readAllStandardError());
  7. } while(busy); //flag, changes when QProcess finishes, signal connected to slot
  8. process->waitForFinished(-1); // -1, forever
  9. process->close();
To copy to clipboard, switch view to plain text mode 
Output:-
Qt Code:
  1. o - ""
  2. e - ""
  3. o - ""
  4. e - ""
  5. ...
  6. ...
To copy to clipboard, switch view to plain text mode