Use load() method instead of setHtml() in the QWebView