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

[Regression] 6.3.1 -> 6.4.1 Android - QSettings lost

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.4.1, 6.5.0
    • QPA: Android
    • None
    • Android
    • 2023wk06FOQtforAndroid, 2023wk08FOQtforAndroid, 2023wk10FOQtforAndroid, 2023wk12FOQtforAndroid, 2023wk14FOQtforAndroid

    Description

      We are using the default constructor of QSettings.

      With Qt 6.3.1 the path to the file was:

      /data/data/AddIdentifier/files/.config/Company/AppName.conf
      

      With Qt 6.4.1 the path is

      /data/data/AddIdentifier/files/settings/Company/AppName.conf
      

      So the settings are lost when the user get an app update because the old file is not used anymore. I am currently searching for the related change in QtBase.

      Edit: A Backout of https://codereview.qt-project.org/c/qt/qtbase/+/412556 (140ca89a3c2b8d78889d27217f977cd4de10041b) helps.

      Attachments

        Issue Links

          Activity

            People

              qtandroidteam Qt Android Team
              larss Lars Schmertmann
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: