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
For Gerrit Dashboard: QTBUG-109405 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
464747,5 | Android: fix QSettings default file path change | dev | qt/qtbase | Status: ABANDONED | 0 | 0 |
480604,13 | Android: Restore the default QSettings path to the .config directory | dev | qt/qtbase | Status: MERGED | +2 | 0 |
484559,1 | Android: Restore the default QSettings path to the .config directory | 6.6 | qt/qtbase | Status: ABANDONED | 0 | 0 |
484560,1 | Android: Restore the default QSettings path to the .config directory | 6.5 | qt/qtbase | Status: ABANDONED | 0 | 0 |
484562,2 | Android: Restore the default QSettings path to the .config directory | 6.5 | qt/qtbase | Status: MERGED | +2 | 0 |
484563,1 | Android: Restore the default QSettings path to the .config directory | 6.6 | qt/qtbase | Status: ABANDONED | 0 | 0 |
484605,2 | Android: Restore the default QSettings path to the .config directory | 6.6 | qt/qtbase | Status: MERGED | +2 | 0 |
484610,3 | Android: Restore the default QSettings path to the .config directory | tqtc/lts-6.2 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |