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

regression: webengine cant load html from qresource

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.5.0
    • 6.2.0
    • WebEngine
    • None
    • All

    Description

      it was working just fine in the qt 5.15.

       

      ive found out that your example also doesnt work so its not a bug on our side.

      the example can be found here:  https://code.qt.io/cgit/qt/qtwebengine.git/tree/examples/webenginewidgets/notifications?h=6.2

       

      i dont know if it's related to this: QTBUG-96525 or not.

       

       

      as a workaround i am reading manually file(QFile) from qrc and doing setHtml() with baseurl param as normal qrc url.

      thankfully someone reported that  QTBUG-96525 so it can read .js files from that manually set html-code.

      it works - as workaround till you fix it.

      Attachments

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

        Activity

          People

            qt_webengine_team Qt WebEngine Team
            meomic Michal M
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes