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

Changes around WebEngineScript are not documented

XMLWordPrintable

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes