Invalid constructor for QDeadline in PyQt5

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

I've never used QDeadline, but after seeing a related SO post ( ) 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?


È difficile avere una convinzione precisa quando si parla delle ragioni del
cuore. - "Sostiene Pereira", Antonio Tabucchi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the PyQt mailing list