Details
-
Suggestion
-
Resolution: Done
-
P3: Somewhat important
-
4.8.0
-
None
Description
QObject::moveToThread sends an event which can be processed by the object in the current thread before it is moved.
Often the object needs to do processing after the move, and this currently requires handling the ThreadChange to post a new user defined event.
It would be useful if Qt handled this common use case by posting the event for you, in the same way that it recreates timers in the new thread for you.