Hi!
Using CentOS 5.2 , KDevelop 3.5, KDE 3.59
connect(m_Process,SIGNAL(readyReadStandardOutput()), this,SLOT(ProcessLine()));
m_Process
->setProcessChannelMode
(QProcess::ForwardedChannels);
m_Process->exec(app,args);
if (m_Process->waitForFinished())
return;
m_Process = new QProcess(this);
connect(m_Process,SIGNAL(readyReadStandardOutput()), this,SLOT(ProcessLine()));
m_Process->setProcessChannelMode(QProcess::ForwardedChannels);
m_Process->exec(app,args);
if (m_Process->waitForFinished())
return;
To copy to clipboard, switch view to plain text mode
My Program is a simple wrapper for p7Zip, I got everything to work except the progressbar, I read in the docs that QProcess::exec forwords the output of the child process to the main process.
How do I get this info .
ps: I did try (this) in the connect function , but the output on the compiler window told me that there was no signal by that name.
Thanks for your help!
Patrick.
Bookmarks