On Sunday, 18 July 2021 23:08:13 PDT Björn Schäpers wrote:
> you should parent your QTimer, and moveToThread afterwards.

That shouldn't be "AND". That should be an exclusive OR: you either parent 
your QObject or you moveToThread, not both. You cannot move a QObject that has 
a parent to another thread. You can only move the entire hierarchy.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel DPG Cloud Engineering



_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to