Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
5.12.9
Description
Setting `targetSdkVersion` to 29 crashes the app if it uses `QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation)`. Because the method uses `Environment#getExternalStorageDirectory()`
Unfortunately, this method was deprecated in API level 29, and the allowed `targetSdkVersion` for Play Store is going to be bumped this November 2nd.
Attachments
Issue Links
- is duplicated by
-
QTBUG-84073 QStandardPaths::writableLocation(QStandardPaths::DownloadLocation) isn't writable in Android 10
-
- Closed
-
For Gerrit Dashboard: QTBUG-87803 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
324197,4 | Android: Kill calls to deprecated func in API 29 | dev | qt/qtbase | Status: MERGED | +2 | 0 |
325446,2 | Android: Kill calls to deprecated func in API 29 | 6.0 | qt/qtbase | Status: MERGED | +2 | 0 |
325447,3 | Android: Kill calls to deprecated func in API 29 | 5.12 | qt/qtbase | Status: MERGED | +2 | 0 |
325448,2 | Android: Kill calls to deprecated func in API 29 | 5.15 | qt/qtbase | Status: MERGED | +2 | 0 |