Hello,
how can I change default missing image icon in QWebView when resource not loaded?
Default missing image icon:
Attachment 8914
Printable View
Hello,
how can I change default missing image icon in QWebView when resource not loaded?
Default missing image icon:
Attachment 8914
Did you try
Bala
I didn't try. Where I can find setIcon function? I'm using Qt 4.8.4.
I do not mean 'favicon'.
I want change fallback image which is displayed when eg. image not loaded (because HTTP 403 error or other).
Code:
QWebView web_view = /*...*/ web_view.setHtml("<img src='http://www.example.com/notexist.png'>");