qml - qtwebview - webview. Does it support eval javascript inside somehow?
-
I develop application for iOS and I use qml - qtwebview - webview component to show the web page inside my iOS application. How I could evaluate javascript inside webpage?
Here are strange situatuon in Qt documentation, here two pages with docs:
http://doc.qt.io/qt-5.4/qml-qtwebkit-webview.html (webview from qtwebkit module)
http://doc.qt.io/qt-5.4/qml-qtwebview-webview.html (webview from qtwebview module)
I am using second component, because it only work for iOS, but in docs no information about signals/methods, but some signals functions from webkit/webview actually works here in qtwebview/webview (for example onLoadingChanged(loadRequest)).
So I am confused by this fact. I want to know how i can evaluate javascript inside html representing by qtwebview/webview component, and how I can explore HTML elements inside qtwebview/webview, and how i can handle signals such loadPage? -
Thank you for answer, p3c0.
I have just read new features of qt 5.5 alpha version, and I found note about this component (qtwebview - webview). There was exactly what I need (evaluate javascript etc), but it only for version 5.5 alpha. So now the only way to communicate between application and html in webview inside your app under iOS is QWebChannel. -