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

QFile documentation should mention that content URIs are supported in Android

    XMLWordPrintable

Details

    • Android
    • 2022wk36FOQtforAndroid, 2022wk40FOQtforAndroid, 2023wk02FOQtforAndroid, 2022wk44FOQtforAndroid, 2022wk50FOQtforAndroid, 2022wk52FOQtforAndroid, 2023wk04FOQtforAndroid
    • a0ca5f433 (dev), 5c3dd23ac (tqtc/lts-5.15), 7253f6cac (6.4), 6a4990a94 (6.5), b7c63d231 (tqtc/lts-6.2)

    Description

      It seems that there is some confusion in Android on what kind of paths can be given to QFile class.

      QFile in Android supports using content URIs directly as path.

      It would be beneficial for developers to mention in QFile documentation that content URIs are supported in Android.

      AFAIK, this should apply to Qt 5.15 and 6.x

      Attachments

        Issue Links

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

          Activity

            People

              nick_bennett Nicholas Bennett
              ramon Ramon Sadornil (Inactive)
              Ramon Sadornil Ramon Sadornil (Inactive)
              Rami Potinkara Rami Potinkara
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: