The most common approach to loading custom stuff into a WebView seems to be to implement a custom scheme handler in QNetworkAccessManager with a corresponding reply implementation. This is described a bit here, with demo: http://qt-project.org/forums/viewthread/12965
You would then need to have your HTML files referring to the image or whatever using the new scheme:
Qt Code:
<img src="resource:///resources/images/amazing_horse.gif" />To copy to clipboard, switch view to plain text mode
Bookmarks