Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. Inject QWebChannel into an HTTPS page
QtWS25 Last Chance

Inject QWebChannel into an HTTPS page

Scheduled Pinned Locked Moved Unsolved QtWebEngine
qwebchannelhttps
2 Posts 3 Posters 1.8k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • TesXT Offline
    TesXT Offline
    TesX
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0
    • L Offline
      L Offline
      leil
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved