Invalid constructor for QDeadline in PyQt5

Maurizio Berti maurizio.berti at gmail.com
Thu May 18 14:30:06 BST 2023


I've never used QDeadline, but after seeing a related SO post (
https://stackoverflow.com/q/76280812/2001654 ) it seems like there is (or
was) a bug in the QDeadline constructor that only happens in PyQt5 but not
in PyQt6 (nor in PySide2, for what's worth).

I admit I don't have the latest PyQt5 build, but at list until PyQt 5.15.4
it looks like the basic int constructor doesn't use the argument for the
duration, but for the timer type.

If it was fixed, from what version?

Thanks,
Maurizio

-- 
È difficile avere una convinzione precisa quando si parla delle ragioni del
cuore. - "Sostiene Pereira", Antonio Tabucchi
http://www.jidesk.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20230518/22159fd7/attachment.htm>


More information about the PyQt mailing list