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

QSettings doesn't work with QSettings::IniFormat on Mac OS X Lion

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P3: Somewhat important
    • None
    • 4.7.4
    • Core: Other
    • None
    • Mac OS X Lion (10.7.1)
      Qt 4.7.4
    • macOS

    Description

      QSettings fails to save or load settings to disk when specifying the QSettings::IniFormat and SystemScope on Mac OS X Lion. Unlike https://bugreports.qt.nokia.com/browse/QTBUG-21062, I can successfully save and restore settings when using QSettings::NativeFormat, just not with IniFormat.

      (Note: When using UserScope with IniFormat, the settings are properly saved in $HOME/.config/...)

      The documentation specifies that when using IniFormat on Mac OS X, the files are stored in /etc/xdg. This folder doesn't exist on a fresh install of Lion. Manually creating the folder and setting all read/write permissions wasn't able to fix the problem.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            markboots Mark Boots
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes