I wonder if someone could help me resolve this issue regarding slot connection in PyQt5. The following code snippet will show you what my problem is.
class M
You are using the old style signal and slot, which is not longer supported in PyQt5.
The old style:
self.connect(origin, SIGNAL('completed'), self._show_results)
should now be written in the new style:
origin.completed.connect(self._show_results)
For more details, see the documentation on New-style Signal and Slot Support.