The main thread (a.k.a. the GUI thread) is the one that created the QApplication instance.
Typical way of communication between worker threads and the GUI thread is to use custom events. QApplication provides some locking mechanism, but custom events are better.
Bookmarks