Python Forum
PyQt Threading & Class handling
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PyQt Threading & Class handling
#6
Do not subclass QThread. Instead you must subclass a QObject and place it into a QThread using the moveToThread method.

But I don't get what you are trying to do; signals are meant to be emitted from within the thread, so why would you want to call it from outside? Instead you can simply connect your second thread to the same slot and emit from there.
Reply


Messages In This Thread
PyQt Threading & Class handling - by mrdominikku - Mar-02-2019, 06:02 PM
RE: PyQt Threading & Class handling - by Alfalfa - Mar-03-2019, 04:14 PM
RE: PyQt Threading & Class handling - by Alfalfa - Mar-04-2019, 11:28 AM
RE: PyQt Threading & Class handling - by Alfalfa - Mar-10-2019, 03:12 PM
RE: PyQt Threading & Class handling - by Alfalfa - Mar-10-2019, 06:35 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020