Nominate our 2022 Qt Champions!

[Solved] Buffer size of QProcess

  • Hi Folks,

    I have a console application on Windows 7 and I start a child process by QProcess. As I consider, the standard output of the child process is buffered so I can read some output before I connect to the readyRead signal of the process (Please accept that connecting to the signal after starting the process is the right way in this program due to the requirements).
    The question is: how can I determine the size of this buffer used for standard output of my QProcess?


  • Lifetime Qt Champion

    You could have a look at the source
    Seems to use QByteArray and is a child of QIODevice.
    My guess would be "dynamic" and depending on platform.

Log in to reply