Hi,
I am using the QNetworkAccessManager::get to request content from
http://www.google.com.
Then the QHttpNetworkConnectionChannel will be created and worked on another
thread, when all the data is received, the
QHttpNetworkConnectionChannel::allDone will be invoked, where:
// queue the finished signal, this is required since we might send new
requests from
// slot connected to it. The socket will not fire readyRead signal, if we
are already
// in the slot connected to readyRead
if (reply && emitFinished)
QMetaObject::invokeMethod(reply, "finished", Qt::QueuedConnection);
So this "finished" signal will be queued in the thread of QNetworkReplyHttpImpl
until a new event will be handled.
Finally, my application also won't receive any finished signal until for
example: touch the screen to trigger the queued signal be handled.
So why using the type Qt::QueuedConnection for this "finished" signal ? is
there something wrong in my side ?
Thanks,
Song
_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development