I created a simple application using QDesigner with QWebView widget. Looking at the code generated by QDesigner , it's loading a default "blank" html page.
Now I want to load my own html and would like it to be the FIRST page without any previous(back navigation) document. This doesn't seem to work because of the previous html loaded by QDesigner code. I'm always getting a document for the back navigation. I tried to clear the QWebView history using the below code but it didn't work:
Qt Code:
ui.webView->history()->clear();To copy to clipboard, switch view to plain text mode
I tried loading the new html with load() and setUrl() methods with the same results.
I'm not sure if this a bug, I'm using Qt 4.4.3.
Thanks for any help.
Bookmarks