[Qt-interest] QWebPage error handling with a proxy
Guillaume LACHAUD
guilo19 at free.fr
Mon Feb 8 21:47:53 CET 2010
Hello,
I am using Qt 4.6.1 to download pages from the Internet and parse them.
Download is achieved with QWebPage::load(QUrl(http://myurl.com)). It
works really great though a bit performance eater with a high cpu load.
But my problem is when I want to use my program with a proxy. Sometimes,
randomly, the page load freezes and never end, or at least loadFinshed
is never emitted. Is it possible to handle error with QWebPage ? And/or
is it possible to tune the request sent to load the page without using
the get function of QNetworkAccessManager ? Please note that it gets
stuck more often when proxy type is set to Http instead of HttpCaching.
I do test my program with squid on Windows.
Thanks
More information about the Qt-interest-old
mailing list