Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Qt 5.15 => 6.10: QML with WebView in the widget app shows empty field instead of web page

Qt 5.15 => 6.10: QML with WebView in the widget app shows empty field instead of web page

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 1 Posters 197 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.
  • A Offline
    A Offline
    armen_gg
    wrote on last edited by
    #1

    I'm developing a mobile app for Android using widgets. One of my app's forms needs to display a web page. I'm using QML with WebView for this (QQuickWidget on the form widget, which displays a QML page with a single QtWebView object). When compiling the project with Qt 5.15, everything works fine, and the web page displays correctly. However, when compiling the project with Qt 6.10, I see an empty field instead of a page. However, according the console output from QtWebView, the page has loaded.

    What could be the problem?

    In the documentation at doc.qt.io/qt-6/qtwebengine-platform-notes.html, I found information about disabling the sandbox with the QTWEBENGINE_DISABLE_SANDBOX flag, but this didn't help.

    1 Reply Last reply
    0
    • A Offline
      A Offline
      armen_gg
      wrote on last edited by
      #2

      II wanted to post the source code for a test app here, so one could compile it and see what it looks like. But all my attempts end with a message that the post was recognized as spam, and I can't attach the source code here.
      So I posted all source code at the StackOverflow https://stackoverflow.com/questions/79801790/qt-5-15-6-10-qml-with-webview-in-the-widget-app-shows-empty-field-instead-of

      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