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. ERR_NETWORK_ACCESS_DENIED pops up when I run html file
Forum Updated to NodeBB v4.3 + New Features

ERR_NETWORK_ACCESS_DENIED pops up when I run html file

Scheduled Pinned Locked Moved Unsolved QtWebEngine
1 Posts 1 Posters 409 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.
  • J Offline
    J Offline
    junga.lee
    wrote on last edited by
    #1

    Hi there,
    I am developing an application on Intel based MacOS. I have a html file with a script and I want to display it in QWebEngineView. In Qt 5.14.2 it worked fine, but in Qt 6.4.1 I get a white screen. I used DevTool for debugging QWebEngine and saw the phrase 'Failed to load resource: net::ERR_NETWORK_ACCESS_DENIED'. Strangely, if there is no script file in the html file, there is no problem. My question is:

    1. Has anyone experienced similar issues? How else did you solve it?
    2. Is there something I need to enable to not get ERR_NETWORK_ACCESS_DENIED ?
    3. The script in the html file doesn't seem to be recognized at all. There are script tags in the header and body of html, and several functions are declared. However, when calling the count of QWebEnginePage's script function, it is output as 0. How are you using html files and scripts together?
    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