Important: Please read the Qt Code of Conduct -

WebEngineView call signal from website.

  • 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.


  • I hope I understand your problem.
    I raised it using the 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.

Log in to reply