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

QSettings is not interoperable with NSUserDefaults.standardUserDefaults

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 5.15.2
    • Core: I/O
    • None
    • iOS/tvOS/watchOS

      NSUserDefaults.standardUserDefaults write to file <bundle ID>.plist, but QSettings (using default constructor) writes to <bundle ID>.<executable>.plist. Due to this difference it's impossible to read values with QSettings saved by NSUserDefaults.standardUserDefaults.

      Note that on macOS there's no such issue.

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

            vestbo Tor Arne Vestbø
            kambala Andrey Filipenkov
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes