[Qt-interest] QProcess output every five seconds ..

chandrasekar wagmare sekarwagmare at gmail.com
Tue Mar 24 07:40:21 CET 2009


i am using Qt4
ln QProcess() i am running "glxgears" a linux system call which gives std
output in every 5 sec ...
 and i want the output to be printed in the textEdit   when ever "glxgears"
system call  gives output in every 5 sec ...
glxgrears print output every 5sec ... so i use readyReadStandardOutput()
signal to slot readOut()

but the problem is after filling the entire buffer QProcess() calls the
readOut() slot ie the signal readyReadStandardOutput()  is emitted only
after the buffer fills otherwise it takes five minutes and printing it in a
heap ..

in *Q3Process()* there is canReadLineStdout() call but in qt4 which one i
can use ...? but more it is emitting readyReadStandardOutput() only after
the buffer filled ... so canReadLineStdout()also useless  now ..
what can i do now ..... please help .....

-- 
CHANDRU
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090324/12de8268/attachment.html 


More information about the Qt-interest-old mailing list