Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Alternative of javaScriptWindowObjectCleared signal of QWebFrame in QtWebEngine.



  • When we create a webengine object we do add the qtObject variable in the webengine using webchannel, and then we load the url in the webengineview. Now a reload is initiated from a javascript at server side due to which the object get destroyed. We need to add the qtObject again in the webengienview on reload. How to do that?

    Previously with WebKit we were using javaScriptWindowObjectCleared signal of QWebFrame for adding our qtObject.


Log in to reply