Nope, hadn’t come across that one, and Yep - it was exactly what I needed Thank you, thank you, thank you! Added that to my manifest as well as the permission check function I had, and viola! Photos! After removing and re-installing the app, I even got the permission pop-up I had been expecting asking me if I wanted to allow access.
So just to confirm, based on that bug report you filed (and for which I voted), this is an android version issue? That is, the code I had would have worked (at least theoretically) in android less than 13? Thanks again! --- Israel Brewster Software Engineer Alaska Volcano Observatory Geophysical Institute - UAF 2156 Koyukuk Drive Fairbanks AK 99775-7320 Work: 907-474-5172 cell: 907-328-9145 > On Jul 10, 2024, at 1:44 AM, ekke <e...@ekkes-corner.org> wrote: > > Hi Israel, > have you tested to add READ_MEDIA_IMAGES permission ? > see my article about Qt Permissions https://t1p.de/ekkePermissions > and https://bugreports.qt.io/browse/QTBUG-116834 (please vote) > ciao > ekke > > > Am 10.07.24 um 05:14 schrieb Israel Brewster via Interest: >> I have written a Qt app, using Qt 6.6.3 that does something very simple: >> display photos (essentially a digital photo frame). I am trying to get it to >> run on Android 14. Unfortunately, as simple as this should be, I can not for >> the life of me figure out how to get it to request permission to access the >> Photos directory - and without that permission, my call to fileDir.entryList >> comes up empty - even though, if I call File::exists() with a file I know is >> in that directory, it returns true. > .... > _______________________________________________ > Interest mailing list > Interest@qt-project.org > https://lists.qt-project.org/listinfo/interest
_______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest