PyQt6 and QSocketNotifier

Kovid Goyal kovid at kovidgoyal.net
Wed Jan 13 21:48:41 GMT 2021


It's present in PySide:

https://doc.qt.io/qtforpython/PySide6/QtCore/QSocketDescriptor.html
https://bugreports.qt.io/browse/PYSIDE-1317

On Wed, Jan 13, 2021 at 11:44:28AM +0000, Phil Thompson wrote:
> 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
> 

-- 
_____________________________________

Dr. Kovid Goyal 
https://www.kovidgoyal.net
https://calibre-ebook.com
_____________________________________


More information about the PyQt mailing list