Quote Originally Posted by wagmare View Post
because QProcess have two seperate channels to read normal output and error


if u want a single output use
setProcessChannelMode(QProcess::MergedChannels);
the following is some of my src code.

connect(&process,SIGNAL(readyReadStandardOutput()) ,this,SLOT(updaterev_line()));
。。。。。
process.setProcessChannelMode(QProcess::SeparateCh annels);
process.setReadChannel(QProcess::StandardOutput);

it does not work too!(the signal can not connect the solt func!)