You can try to increase the buffer in a platform dependent way (it's a system buffer) in QProcess::setupChildProcess(). But you might just try reading the data faster. How did you organise the reading process?
You can try to increase the buffer in a platform dependent way (it's a system buffer) in QProcess::setupChildProcess(). But you might just try reading the data faster. How did you organise the reading process?
I've just simply connect the readyReadStdout and readyReadStderr signals to a function which read the data with readStdout(), and then processes it.
But as I said, just simply calling readStdout() (even without storing the result) makes the external process to slow down.
In Qt 4, it's similar, I connect the readyReadStandardOutput signal and read the data with readAllStandardOutput().
Bookmarks