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

QSettings regresion on BB10, It no longer works

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Invalid
    • Affects Version/s: 4.8.5
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Using qtcreator 3.0.1 and the precompiled libs that come with this BB10 NDK: "momentics-2.0-201310251201-linux.gtk.x86.bin" on a Fedora20_64 box.
      The testing was done on an actual Q10 device with OS 10.2.1.537

      Description

      QSettings no longer works on BB10 Q10 using the built in libs.
      Mysteriously, if you comment out the setOrganizationName and Domain from main.cpp and the set path (QCoreApplication::applicationDirPath();
      settings.setPath(QSettings::NativeFormat, QSettings::UserScope, str) part from the save routine, qsettings will create and find the conf file but then group storing is broken. Only the uppermost variable in a group list will be stored and the rest are ignored...
      This all worked fine before when I was testing on the playbook and my same code works on Android, linux, windows, etc etc..
      I have attached a small example.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              bweimer Bernd Weimer
              Reporter:
              jblat Jon Heron
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes