HackAndroidFileDialog.qml 544 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
import QtQuick          2.3
import QtQuick.Dialogs  1.2

// On Qt 5.9 android versions there is the following bug: https://bugreports.qt.io/browse/QTBUG-61424
// This prevents FileDialog from being used. So we have a temp hack workaround for it which just no-ops
// the FileDialog fallback mechanism on android 5.9 builds.

Item {
    property var folder
    property var nameFilters
    property var title
    property var selectExisting
    property var selectMultiple
    property var selectFolder

    signal accepted
    signal rejected
}