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

macOS QSettings does not use standard path

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.9.0
    • Core: I/O
    • None
    • macOS

    Description

      Currently QSettings for macOS still saves to ~/.config. I saw this in qsettings.cpp:

      static QString make_user_path()
      {
      #ifndef QSETTINGS_USE_QSTANDARDPATHS
          // Non XDG platforms (OS X, iOS, Android...) have used this code path erroneously
          // for some time now. Moving away from that would require migrating existing settings.
          // The migration has already been done for Android.
          return make_user_path_without_qstandard_paths();
      #else
      

      When will QSettings use GenericConfigLocation? Thanks.

      Attachments

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

        Activity

          People

            vestbo Tor Arne Vestbø
            yuanxun Xun Yuan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes