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

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

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes