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

Instantiating `QWebEngineProfile` creates an empty data directory

XMLWordPrintable

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

      `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.

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

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

              Created:
              Updated:

                There are no open Gerrit changes