I suspect this is so basic that no one bothered to document it.
I want to write an HTML file from my program, and then load that file into a QWebview object.
Whe
From the web
webView->load(QUrl("http://google.de"));
From resource
webView->load(QUrl("qrc:///sample.html"));
From File System
webView->load(QUrl("file:///C:/sample.htm"));
No need for QUrl::FromLocalFile, no need for webView->show()
QUrl::FromLocalFile
webView->show()
You are all welcome!