I have the below code
QWebView webView;
QImage img = QImage::fromData((unsigned char *)data, size); // comes from some data source
webView.setHtml("<html><body><img src=\"how_to_load\"/></body></html>");
webView.show();
where I want to load img in the webview.
Any ideas ?