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

Qt WebView: Provide a way to enable persistent cookies on desktop platforms

    XMLWordPrintable

Details

    • Linux/X11, macOS, Windows

    Description

      In Qt 6, the default QWebEngineProfile is now off-the-record (https://doc.qt.io/qt-6/qtwebengine-changes-qt6.html#default-profile ). Consequently, Qt WebView on desktop platforms can no longer store cookies on disk.

      • There is currently no Qt WebView API to enable persistent cookies on desktop platforms (or to disable them on mobile platforms).
      • While it is possible to obtain the default profile by calling `QWebEngineProfile::defaultProfile()`, it is impossible to disable off-the-record mode on an existing profile.

       

      Suggestion

      Provide a "Native Interface" API to enable applying a custom profile to the underlying WebEngineView (see https://doc.qt.io/qt-6/native-interfaces.html, https://doc.qt.io/qt-6/qguiapplication.html#nativeInterface )

      Attachments

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

        Activity

          People

            stromme Christian
            skoh-qt Sze Howe Koh
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes