Hiii Forum
I have to read the output of QProcess with :
readAllStandardOutput();
readAllStandardOutput();
To copy to clipboard, switch view to plain text mode
My code :
if (!process.waitForStarted()) {
qDebug() << "Error : " << process.errorString();
return false;
}
if(process.waitForFinished(-1))
{
qDebug() << ">>> "+process.readAllStandardOutput();
}
if (!process.waitForStarted()) {
qDebug() << "Error : " << process.errorString();
return false;
}
if(process.waitForFinished(-1))
{
qDebug() << ">>> "+process.readAllStandardOutput();
}
To copy to clipboard, switch view to plain text mode
The problem is : I can not read all the output
OUTPUT with Qt : Updating 14a89b0..e16c540
OUTPUT with the console :
Why readAllStandardOutput() can not read the rest of the output !
Regards;
Bookmarks