Hi,
You don't have to inject QWebChannel.js every time if you use
QWebEngineScriptCollection in your QWebEngineProfile. Here is a sample code
from my project:
const char s_qWebChannelAdditionalScript[] = "new
QWebChannel(qt.webChannelTransport, function(channel) {"
Thank you very much, now it is working as expected.
Best Regards
> Am 21.03.2016 um 15:48 schrieb Aleksey Yermakov :
>
> Hi,
>
> You don't have to inject QWebChannel.js every time if you use
> QWebEngineScriptCollection in your QWebEngineProfile. Here is a sample code
> from my project:
>
>