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

QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation) points to an inaccessible location

    XMLWordPrintable

    Details

    • Platform/s:
      Android

      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

          For Gerrit Dashboard: QTBUG-87803
          # Subject Branch Project Status CR V

            Activity

              People

              Assignee:
              piotrmi Piotr Mikolajczyk
              Reporter:
              sh_zam Sharaf Zaman
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes