[Qt-interest] QNetworkAccessManager in GUI thread
Nitin Mahajan
nitinm76 at yahoo.com
Thu Jan 21 12:33:14 CET 2010
Hello,
In a GUI application like Demo Browser, I have a QNetworkAccessManager object say "A" created in the GUI thread itself.
I want to do the actual file download in a separate thread, so that my GUI/mouse cursor does not freeze. Can I create a new QNetworkAccessManager "B" in the new thread and set the cookiejar and proxy from "A" and still download?
While doing the download in the GUI thread itself I can see the mouse cursor freezing, even though the replies of the requests sent through NetworkAccessManager arrive asynchronously.
Whether Network acccess manager does some operation which is still Blocking?
regards
-Nitin
New Email names for you!
Get the Email name you've always wanted on the new @ymail and @rocketmail.
Hurry before someone else does!
http://mail.promotions.yahoo.com/newdomains/aa/
More information about the Qt-interest-old
mailing list