7 changed files with 53 additions and 3 deletions
@ -0,0 +1,5 @@ |
|||||||
|
<RCC> |
||||||
|
<qresource prefix="/qml"> |
||||||
|
<file alias="QGroundControl/Controls/HackFileDialog.qml">src/QmlControls/HackAndroidFileDialog.qml</file> |
||||||
|
</qresource> |
||||||
|
</RCC> |
@ -0,0 +1,5 @@ |
|||||||
|
<RCC> |
||||||
|
<qresource prefix="/qml"> |
||||||
|
<file alias="QGroundControl/Controls/HackFileDialog.qml">src/QmlControls/HackFileDialog.qml</file> |
||||||
|
</qresource> |
||||||
|
</RCC> |
@ -0,0 +1,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 |
||||||
|
} |
@ -0,0 +1,9 @@ |
|||||||
|
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. |
||||||
|
|
||||||
|
FileDialog { |
||||||
|
} |
Loading…
Reference in new issue