Qt Android: How to show the native file dialog?
android, c++, qfiledialog, qt, qt5
Solution
Yes, this is possible in general by using Ministro as a workaround for now.
See the following bugreport for details:
No native controls on Qt 5.2 for Android, not in widgets nor in quick application
The QFileDialog seems to be specified by the QPlatformTheme which is supposed to be implemented.
Problem
I'm not sure if it is possible, but currently, when I show an open file dialog: ``` QString file = QFileDialog::getOpenFileName(this); ``` The dialog shown is not the native dialog for Android. Instead, it looks like this (it's also not maximized): I'm using Qt 5.2.0 for Android.