diff options
Diffstat (limited to 'tests/auto/extras/data')
-rw-r--r-- | tests/auto/extras/data/tst_common.qml | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/tests/auto/extras/data/tst_common.qml b/tests/auto/extras/data/tst_common.qml index 1c6ebc53..2983103a 100644 --- a/tests/auto/extras/data/tst_common.qml +++ b/tests/auto/extras/data/tst_common.qml @@ -57,19 +57,23 @@ TestCase { { tag: "DelayButton" }, { tag: "Dial" }, { tag: "Gauge" }, - { tag: "PieMenu", qml: "import QtQuick.Controls 1.1; import QtQuick.Extras 1.4;" - + "PieMenu { visible: true; MenuItem { text: 'foo' } }"}, { tag: "StatusIndicator" }, { tag: "ToggleButton" }, - { tag: "Tumbler", qml: "import QtQuick.Extras 1.4; Tumbler { TumblerColumn { model: 10 } }" } + { tag: "Tumbler", qml: "import QtQuick.Extras 1.4; Tumbler { TumblerColumn { model: 10 } }" }, + { tag: "PieMenu", qml: "import QtQuick.Controls 1.1; import QtQuick.Extras 1.4;" + + "PieMenu { visible: true; MenuItem { text: 'foo' } }"} ]; } function cleanup() { - control.destroy(); + if (control) + control.destroy(); } function test_resize(data) { + if (data.tag === "PieMenu" && Qt.platform.os === "windows") + skip("QTBUG-53123"); + var qml = data.qml ? data.qml : "import QtQuick.Extras 1.4; " + data.tag + " { }"; control = Qt.createQmlObject(qml, testCase, ""); |