Loading of HTML file in WebView
Solved
QML and Qt Quick
-
Sample code please.
-
-
Where is the Madhu.html file ? Is it under assets ?
-
Web view is some how not able to read the resource file. Can you try copying the Madhu.html under 'assets' folder and try ?
-
Just try this
WebView {
anchors.fill: parent
url : Qt.resolvedUrl("file:///android_asset/Madhu.html")
}Please note there is NO 's' in asset. It is confusing but it works.
-
which URL u r loading inside the html file ?
-
hmm. Google map requires Key. Not sure whether you have right key with you.
Can you try loading some other web-site like http://www.cnn.com or http://www.pthinks.com ?
Just check if it works.