Solved How to make FileDialog and select file to load in webview ?
-
Hey guys , i want to make a simple QML file which will open a filedialog box and user will select the file that needs to be loaded .
Once the user selects the file (HTML file ) i want it to be loaded in WebviewPlease if possible give me an example so that i can understand it .
-
Hi
You have to start from here.
http://doc.qt.io/qt-4.8/qt-webkit-previewer-example.html -
ya it works......
-
This post is deleted! -
I just solved it myself (feels great ) . i used a property url to get url of file then assigned it to url of webview