[webkit-qt] How to save data from webkit requests

Benjamin Poulain benjamin.poulain at nokia.com
Tue Oct 5 06:13:08 PDT 2010


On 10/05/2010 02:00 PM, ext Richard Baron Penman wrote:
> this is what I currently have: http://pastebin.com/Ugt0EC40
>
> I find that the html at the URL is downloaded correctly and then the
> finished() signal is emitted, but the content of QWebView remains empty.
> How does QWebView get the content from QNetworkReply? Neither peek(),
> read(), readLine(), readData(), or readAll() is ever called in this
> class, but it will render properly when I use a standard QNetworkReply.

I am not familiar with the python bindings. If readData is never called, 
a signal is probably never emitted.

Look at 
http://gitorious.org/webkit/webkit/blobs/master/WebCore/platform/network/qt/QNetworkReplyHandler.cpp#line550 
to see what signals are used by WebKit.

Benjamin


More information about the webkit-qt mailing list