Thank you for your answers and recommendations. I never create QObjects before QCoreApplication, so don't worry. Just was re-reading docs and was confused by that part, especially be the word "posted" since QCoreApplication::postEvent() supposed to put event in the queue which is not handled.
2014-09-22 4:24 GMT+04:00 Dmitrii Volosnykh <dmitrii.volosn...@gmail.com>: > 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. >
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest