Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-86326

Webview net::ERR_FILE_NOT_FOUND

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.14.2, 5.15.0
    • WebView
    • None
    • Android

    Description

       

      The problem happens when I want to load an Html page in WebView. It works fine on Qt 5.12. But in Qt 5.15 and Qt 5.14 I get this error: net::ERR_FILE_NOT_FOUND

      The code:

      WebView {
          anchors.fill: parent
          url: "file:///android_asset/index.html"
      }

       I also tried with:

      url: "assets:/index.html"
      

      and I get net::ERR_UNKNOWN_URL_SCHEME

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            stromme Christian
            styleoshin Yacine BENAFFANE
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes