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

QDir dir(QStandardPaths::standardLocations(QStandardPaths::PicturesLocation)[0]) exist to false on android jelly bean (bug)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.9.6
    • 5.6.3
    • Core: I/O
    • None
    • windows 7 x64 host android jelly bean target

    Description

      Hopefully this getting fixed , the completed reproduced source file attached. This is another weird stuff for me
      to work qt on android. Note that, I've added android.permission.WRITE_EXTERNAL_STORAGE to AndroidManifest.xml. I'm using
      android-19 sdk. This happen on qtbase as of git commit 3e43ddd926fd1d96a5d03b272119e02aef54aee9 with change of .qmake.conf to 5.6.2
      and qtquick 5.6.2 lastest release tarball.
      Normally executing manually ls result_of_string_QStandardPaths::standardLocations(QStandardPaths::PicturesLocation)[0] is exist on my device and could be opened from gallery app.

      Attachments

        Activity

          People

            taipan BogDan Vatra
            jiraiya jiraiya sensei
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: