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. The MiniBrowser example project does not display websites/content in Qt 5.15.0.

The MiniBrowser example project does not display websites/content in Qt 5.15.0.

Scheduled Pinned Locked Moved Solved QtWebEngine
4 Posts 2 Posters 154 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.
  • H Offline
    H Offline
    hemang_1711
    wrote on 3 Mar 2025, 13:01 last edited by
    #1

    I am facing an issue with WebView. I have run all the example projects related to WebView in Qt 5.15.0, and while the website URL loads successfully, the content is not displayed.

    J 1 Reply Last reply 3 Mar 2025, 13:09
    0
    • H hemang_1711
      3 Mar 2025, 13:01

      I am facing an issue with WebView. I have run all the example projects related to WebView in Qt 5.15.0, and while the website URL loads successfully, the content is not displayed.

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 3 Mar 2025, 13:09 last edited by jsulm 3 Mar 2025, 13:10
      #2

      @hemang_1711 Why don't you try with a more recent version? At least Qt 5.15.2 or even Qt 6.8.2
      And please provide more details: on which platform?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • H Offline
        H Offline
        hemang_1711
        wrote on 3 Mar 2025, 13:16 last edited by
        #3

        @jsulm I have also run it in Qt 5.15.2, but the issue remains. I can try up to version 5.15.6, as that is my requirement.

        1 Reply Last reply
        0
        • H Offline
          H Offline
          hemang_1711
          wrote on 5 Mar 2025, 08:55 last edited by
          #4

          Solved this issue by Disabling the sandbox .

          Added this in main.cpp:

          // Disable the sandbox before initializing QtWebEngine
          qputenv("QTWEBENGINE_DISABLE_SANDBOX", "1");
          

          Disabling the sandbox allows the content to display successfully.

          1 Reply Last reply
          0
          • H hemang_1711 has marked this topic as solved on 5 Mar 2025, 09:02

          1/4

          3 Mar 2025, 13:01

          • Login

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