Qt World Summit: Submit your Presentation

Inject QWebChannel into an HTTPS page

  • 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)?


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

  • Banned

    This post is deleted!

Log in to reply