Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.4.1, 6.5.0
-
None
-
-
beaaa0bf0 (dev), faf04010a (6.5), b49593c0c (6.6), 4195ec9ae (tqtc/lts-6.2)
-
2023wk06FOQtforAndroid, 2023wk08FOQtforAndroid, 2023wk10FOQtforAndroid, 2023wk12FOQtforAndroid, 2023wk14FOQtforAndroid, 2023wk18FOQtforAndroid, 2023wk20FOQtforAndroid, 2023wk22FOQtforAndroid, 2023wk24FOQtforAndroid
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
- relates to
-
QTBUG-109369 QSettings - default file location changed between Qt5 and Qt6 on Android
- Closed
- resulted from
-
QTBUG-103455 Settings don't work with content:// URL on Android
- Closed