How to get cmd output in qt ?
I used the below code to get cmd output with qt.
QProcess pShell;
pShell.start("java");
pShell.waitForFinished();
qWarning() << pShell.readAllStandardOutput();
But , the above code not worked .
How to get cmd output in qt ?
I used the below code to get cmd output with qt.
QProcess pShell;
pShell.start("java");
pShell.waitForFinished();
qWarning() << pShell.readAllStandardOutput();
But , the above code not worked .