Hi,<br><br><div class="gmail_quote"><div class="Ih2E3d"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">How do I get the output of the process. I tried all ways possible but<br>
still its not showing any output.</blockquote></div><div><br>I assume that you are using Qt 4.x. The QProcess class has signals
"readyReadStandardError" and "readyReadStandardOutput". These signals
are emitted when there is any output written by the managed process
into the stderr or stdout streams. You can connect these signals to
some slot and then fetch the output from QProcess. Example<br>
<br>
void MyClass::slotOutputAvailable()<br>
{<br>
QProcess* p = qobject_cast<QProcess*>( sender() );<br>
QString stdoutString = p->readAllStandardOutput();<br>
QString stderrString = p->readAllStandardError();<br>
// ...........<br> qDebug( "%s", qPrintable(stdoutString) );<br>
}<br><br>
Hope this helps.<br>
<br>
/ Prashanth<br></div></div><font color="#888888"><br>-- <br>Thanks and Warm Regards,<br>Prashanth N Udupa<br> EMail: <a href="mailto:prashanth.udupa@gmail.com" target="_blank">prashanth.udupa@gmail.com</a><br> Website: <a href="http://www.prashanthudupa.com/" target="_blank">http://www.prashanthudupa.com</a><br>
LJ: <a href="http://prashanthudupa.livejournal.com/" target="_blank">http://prashanthudupa.livejournal.com/</a>
</font>