[PySide] What if a slot is not decorated with @Slot()?

Zhao Lee redstone-cold at 163.com
Wed Nov 16 06:47:40 CET 2022

The doc says:

It is really important to decorate each method declaration with a @Slot(), in that way PySide6 knows internally how to register them into Qt.

But the method used as the slot works well even without the @Slot() decorator , I wonder if there is a risk in doing so.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/pyside/attachments/20221116/b73b767f/attachment.htm>

More information about the PySide mailing list