Primary event loop is run in the GUI thread
Setting a QObject's parent to a QThread will not make the QObject live in that QThread. Only moveToThread()
will make it live in that thread.
This leads to a regression because it hurts performance really badly.
We should:
- make sure the primary event loop is run in the GUI thread
- ensure nice cleanup