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

QSettings default location is inconsistent with QStandardPaths::standardLocations(QStandardPaths::AppConfigLocation)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.14
    • Core: Other
    • None
    • Linux/X11

    Description

      If I call both QApplication::setOrganizationDomain() and setApplicationName() at startup, then by default my settings file will be ~/.config/myorg/MyApp.conf. So I expect QStandardPaths::standardLocations(QStandardPaths::AppConfigLocation) to return ~/.config/myorg/MyApp/ so that I can store other config files in the same directory where the settings are. Instead it returns ~/.config/MyApp. But the end user would expect to have everything in one place.

      Attachments

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

        Activity

          People

            dfaure_kdab David Faure
            srutledg Shawn Rutledge
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes