PyQt6 and QSocketNotifier

Phil Thompson phil at riverbankcomputing.com
Wed Jan 13 11:44:28 GMT 2021


On 12/01/2021 17:54, Dmitry Shachnev wrote:
> Hi Phil!
> 
> PyQt6 seems to be missing the QSocketNotifier class. Is it an 
> oversight, or
> it was removed on purpose?
> 
> The Qt 6 documentation has it: 
> https://doc.qt.io/qt-6/qsocketnotifier.html.

I omitted it because of the use of the undocumented QSocketDescriptor of 
the activated() signal, without which the class is useless. However, on 
checking, the API hasn't changed since Qt5. So I've restored it with the 
same API. I don't know whether or not it works properly but at least it 
is consistent with PyQt5.

Thanks,
Phil


More information about the PyQt mailing list