Issues with QProcess.bytesAvailable()

Phil Thompson phil at
Thu May 20 17:20:15 BST 2021

On 17/05/2021 16:59, Detlev Offenbach wrote:
> Hi,
> I am trying to check the output of a QProcess object for the
> availability of data with bytesAvailable(). This works for eric PyQt5
> variant but the PyQt6 variant always reports back 0. What am I doing
> wrong here?

Neither PyQt5 nor PyQt6 have any special handling for bytesAvailable() 
which suggests that it's a Qt problem.

The Qt implementation has definitely changed as QProcess for Qt6 doesn't 
reimplement bytesAvailable() but Qt5 does.


More information about the PyQt mailing list