Inject QWebChannel into an HTTPS page
-
wrote on 28 Feb 2016, 11:08 last edited by
Hi, I'm trying to inject qwebchannel.js into a QWebEnginePage with an URL server over HTTPS.
Anyway QWebEngine (chromium) refuses to do so and outputs in the development console this error:
"... was loaded over HTTPS, but requested an insecure script 'qrc:///qtwebchannel/qwebchannel.js'. This request has been blocked; the content must be served over HTTPS."How can I disable this security feature (maybe only for the qrc:// scheme)?
Thanks.
-
wrote on 9 Nov 2018, 13:20 last edited by
I encountered the same problem, have you found the solution? if so, could you tell me the answer please? it has confused me for a few days.