[Interest] Event handling for QObjects created before QApplication

Dmitrii Volosnykh dmitrii.volosnykh at gmail.com
Mon Sep 22 02:24:21 CEST 2014


Threads and QObjects
<http://qt-project.org/doc/qt-5/threads-qobject.html> tutorial
says:

> Note that for QObjects that are created before QApplication,
> QObject::thread() returns zero. This means that the main thread will only
> handle posted events for these objects; other event processing is not done
> at all for objects with no thread.


Could someone elaborate on this, please? The most confusing part is "main
thread will only handle posted events for these objects".

Thanks in advance.

Dmitrii.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140922/323043b8/attachment.html>


More information about the Interest mailing list