On Tuesday, March 15, 2011 10:19:15 am ext 周鹏 wrote: > 1) I don't need QNetworkAccessManager to download anything, how to shutdown > it? > 2) When a page need to load some external resource, how to get the > url?
You need to override QNetworkAccessManager::createRequest(). This function is called for every file requested by QtWebkit. There you can also return a custom QNetworkReply which your crawled data. See http://doc.qt.nokia.com/qq/32/qq32-webkit-protocols.html Good luck! Markus _______________________________________________ webkit-qt mailing list [email protected] http://lists.webkit.org/mailman/listinfo.cgi/webkit-qt
