[Interest] Inject QWebChannel and/or JQuery into QWebEnginePage

NoRulez norulez at me.com
Sun Mar 20 19:30:20 CET 2016


Hello,

Did I have to inject QWebChannel and for example JQuery every time before or after I call setUrl()/load() to QWebEngineView or only once?

Because the jquery event for loading a site is only called once and if loaded then it has the previous url:

$(window).load(function () {
    alert('page is loaded');
    alert(window.location.href);
});

Thanks in advance 

Best Regards




More information about the Interest mailing list