Issues with QProcess.bytesAvailable()

Detlev Offenbach detlev at die-offenbachs.de
Thu May 20 17:23:37 BST 2021


Sorry for the noise. The issue was actually caused by the QByteArray 
issue reported separately. I misinterpreted the failure.

Detlev

Am 20.05.21 um 18:20 schrieb Phil Thompson:
> 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.
>
> Phil

-- 
Detlev Offenbach
detlev at die-offenbachs.de



More information about the PyQt mailing list