문제

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.

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top