I'm doing:
connect(tcpSocket,SIGNAL(readyRead()), this, SLOT(onTCPDataArrived()), Qt::QueuedConnection);
But the times the slot gets called is much less than it should have.
It seems like it missed a lot of signals, probably because the slot takes a long time(it does).
I added a 2ms delay on the transmission side between tcp writes and it gets better: the slot get called more.
Question: if the signal and slot are in the same thread, it the receiver still queuing incoming signals when the slot is already running?