Unsolved Qt WebView : trigger QML element/ property from javascript inside an HTML file
-
Hi,
I am trying to make an hybrid app with QT Webview component. I can access HTML javacript code from QML with runJavaScript function of Qt Webview.
What about reverse comminucation? Triggering QML component from HTML file? When I click HTML button then I want to trigger/invoke any QML component/property.
Is that possible? Can I do this job with Qt WebChannel or not?
Thanks in advance.
-
I think the best way is to use WebChannel communication - http://doc.qt.io/qt-5/qwebchannel.html