<div dir="ltr"><div><div>The documentation on the pyqtSlot decorator <a href="http://pyqt.sourceforge.net/Docs/PyQt4/new_style_signals_slots.html#the-pyqtslot-decorator">here</a> includes the somewhat cryptic statement:<br><br>"Although PyQt4 allows any Python callable to be used as a slot when connecting
signals, it is sometimes necessary to explicitly mark a Python method as being
a Qt slot."<br><br>When, exactly, is it necessary to use the @pyqtSlot decorator? Also, if a signal calls a slot which has previously been garbage-collected, will that cause problems in the program? My own simple tests seemed to show that deleting slots, even pure Python slots which are not decorated, did not cause a problem. But, are there cases where it does?<br><br></div>Thanks,<br></div>Jonathan<br></div>