Unsolved No native FileDialog implementation available
-
I am developing an app on android platform. I used QML to develop the app. My app used folderdialog to select a folder. It works well in desktop mode. However, it cannot even open a folder after deploying on android.
"ERROR: No native FileDialog implementation available " is shown in the debug monitor.
Is that a bug for the QT for android?
And I now don't know what I can do for the missing native component.
-
You can use the non-native dialog (the Qt dialog), although it is actually horrible. I'd rather recommend implementing your own GUI for the file dialog.
And also, remember to acquire necessary permissions, otherwise Android won't allow you to access any folders or files apart from internal app storage.
-
Hi,
Which version of Qt are you using ?
-
I am using QT 5.9.3. And I am just a newbie of using QML. Hence, I don't know much about how to create my own GUI for the dialog. Please give some hints to me.
-
You should take a look at @benlau's QuickAndroid project.