Return empty getExistingDirectory for Android SDK >= 30
Solved
Mobile and Embedded
-
Hello everyone, I have problem with
QFileDialog::getExistingDirectory
is returned empty value. I used QT 6.2.4 which tested on Android 13 (SDK 33) and may be affected on Android 11 & 12 which is usingMANAGE_EXTERNALS_STORAGE
permission. Is anyone tried another way to facing this problem? -
I reported this bug here -> Return empty values getExistingDirectory
-
In the bug report you write that
"have to edit what I reported here before is wrong method. So the right method is getOpenFileNames. I am apologized."Of course, you should have updated your post here.
More often than not, a problem is not in the API, but new conditions (such as new OS version) that expose a problem in how you use it. And you don't tell anything about it.