WebEngineView call signal from website.
Unsolved
QtWebEngine
-
Hi,
is it possible to call a signal or method from a website within WebEngineView which calls a function in qt/qml.
I tried to add a click listener to a button but i can't react to the result.
onWindowsCloseRequested reacts to window.close(). Is there a similar slot for custom calls?
Hope you can help me.
Regards,
-
I hope I understand your problem.
I raised it using the window.open method with javascript. I used a fake link (example: www.prrkktt.pp) so i active the (signal) onNewViewRequested event in the QML file that contains the webengine.
Attention, since reference is made to a fake url it generates error in the log.