Skip to content Skip to sidebar Skip to footer

How To Save Webpage In Qt Webkit As "save As Complete Webpage"

I need to save web page using Qt WebKit similar to 'Save as complete webpage'. Following are my requirements, Save the index html file, maintaining entity encoding. Need to downlo

Solution 1:

You could use a HTML parser to parse the current page, then look for all the images (xpath "//img"), download their files, and change their src attributes.

Solution 2:

how about save the html to local system and call setHtml() when you need it?

Post a Comment for "How To Save Webpage In Qt Webkit As "save As Complete Webpage""