Ok, I learned now, that the problem has to do with the thread usage in my case: I learned, that the SLOT(rxEvent()) is processed in the event loop of the core application whilst the SIGNAL(activated) is emitted in the thread. This is solved by changing the thread affinitiy of the slot by calling moveToThisThread() in the core application.
ReceiverThread *receiverThread = new ReceiverThread();
app.connect(receiverThread, SIGNAL(finished()), &app, SLOT(quit()));
receiverThread->moveToThread(receiverThread);
receiverThread->start();
ReceiverThread *receiverThread = new ReceiverThread();
app.connect(receiverThread, SIGNAL(finished()), &app, SLOT(quit()));
receiverThread->moveToThread(receiverThread);
receiverThread->start();
To copy to clipboard, switch view to plain text mode
So using Qt::BlockingQueuedConnection is a bad idea in this case.
The doc of moveToThisThread() provides a god explaination.
Cheers
Bookmarks