QEvent.Type(QEvent.registerEventType()) fails

Phil Thompson phil at riverbankcomputing.com
Wed Jan 26 22:09:30 GMT 2022


On 26/01/2022 20:16, Matthieu Dartiailh wrote:
> Hi,
> 
> My issue however is that PySide6 is stricter in this case and will
> reject calling QEvent with an integer argument but supports
> QEvent.Type(QEvent.registerEventType()) (not sure what the magic is
> here).
> 
> As a consequence, supporting both is a bit more awkward than it could
> be. Do you consider this issue as a won't fix ? I can work around, I
> would just like to know.

It's "nothing to fix because nothing is broken".

Phil


More information about the PyQt mailing list