How do I use QWebSettings from QML (qt 5.6) ?
-
Hi,
I'm a little stuck, first time I've used Webkit since Symbian and Qt 4.8 and it's a little different from them days, back in the day you could call settings.whatever from QML but it seems that's been removed in newer versions.
Using 5.6 (Sailfish OS, they didn't remove Webkit and include WebEngine yet), importing WebKit 3.0
Can't seem to see how I can use WebView in QML and still apply the web settings, does the class need exposing to QML or something?
Thanks
-
You are looking for
WebView.experimental.preferences
See also https://rschroll.github.io/beru/2013/08/21/qtwebview.experimental.html
-
You are looking for
WebView.experimental.preferences
See also https://rschroll.github.io/beru/2013/08/21/qtwebview.experimental.html
@Konstantin-Tokarev said in How do I use QWebSettings from QML (qt 5.6) ?:
You are looking for
WebView.experimental.preferences
See also https://rschroll.github.io/beru/2013/08/21/qtwebview.experimental.html
How did I miss that, thank you very much :)