At least if you have multiple threads with queued connections this is wrong: Queued connections are only processed in the event loop: QThread::execOriginally Posted by jacek
But all this works without a GUI, use QCoreApplication instead of QApplication.
Bookmarks