Question

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):

enter image description here

I'm using Qt 5.2.0 for Android.

Was it helpful?

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top