[Qt-interest] problem in QProcess() readyReadStandardOutput()

chandrasekar wagmare sekarwagmare at gmail.com
Mon Mar 23 14:29:42 CET 2009


hi friends,

       i am using Qt4
     ln  QProcess() i am running glxgears and i want the output to be
printed in the textEdit
   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 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 use less ..
          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/20090323/5f2ac449/attachment.html 


More information about the Qt-interest-old mailing list