@LRDPRDX said in In what thread would a QObject be deleted if it was moved to another QThread?:
the dtor must be called and executed in the secondary thread not the main one. Am I right?
Correct, that's what connect(thread, &QThread::finished, worker, &QObject::deleteLater); does and as you noted>
No more events will be processed in the thread, except for deferred deletion events.
Do the deleteLater will still picked up after the finished is emitted and the destructor will run in the secondary thread