Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
[Solved] Buffer size of QProcess
moravas last edited by moravas
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?
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.