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

Changes around WebEngineScript are not documented

    XMLWordPrintable

Details

    Description

      WebEngineView.userScripts property has changed in Qt6 to be QWebEngineScriptCollection type instead of an array of WebEngineScripts.

      It could also contain a snippet about how to use it now since WebEngineScript is not constructible anymore and assigning an array to userScripts wouldn't work anyway even if the user figures out that WebEngine.script() should be used to create it now.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-100404
          # Subject Branch Project Status CR V

          Activity

            People

              michal Michal Klocek
              poikelin Joni Poikelin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes