Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-20292

QSettings are not stored in iPhone Simulator

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • Qt Creator 4.6.0
    • iOS Support
    • None
    • iPhone Simulator running iOS 9.3, xCode 7.3

    Description

      Using QSettings in a project running on iPhone Simulator, the stored values are not accessible after restarting the app.

      I created a small example project to show this behavior. Simply start it, type something into the QLineEdit and hit 'Save to Settings'. Deleting the text you typed and hitting 'Read from Settings' shows that QSettings are working while the app is running. But restarting the app, either by hitting the Home-Button of the simulator twice to kill it first or by simply restarting it from QtCreator, shows that the formerly input value is gone.

      There's another strange thing to this. When opening the resulting xCode project in xCode and starting the app from there, it all works perfectly.

      Attachments

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

        Activity

          People

            con Eike Ziller
            MrBolton Tobias Reuen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes