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

Instantiating `QWebEngineProfile` creates an empty data directory

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.9
    • WebEngine
    • None

    Description

      `QWebEngineProfile` provides methods to set data/cache/... paths, such as `
      setPersistentStoragePath(...)`. However, just instantiating `QWebEngineProfile` with a profile name creates an empty directory in the default data path (e.g. `%APPDATA%\<AppName>\QtWebEngine\<ProfileName>`), due to the following call chain:

      This is problematic especially for portable apps, which want to redirect all data files to a portable directory. I would prefer if the directory was created on-demand, instead of during the class initialization.

      Attachments

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

        Activity

          People

            anualiyas Anu Aliyas
            matejkafka Matěj Kafka
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes