diff options
Diffstat (limited to 'tests/auto/platform/data/tst_menuitem.qml')
-rw-r--r-- | tests/auto/platform/data/tst_menuitem.qml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/auto/platform/data/tst_menuitem.qml b/tests/auto/platform/data/tst_menuitem.qml index 63d4989a..29d369bc 100644 --- a/tests/auto/platform/data/tst_menuitem.qml +++ b/tests/auto/platform/data/tst_menuitem.qml @@ -50,7 +50,7 @@ import QtQuick 2.12 import QtTest 1.0 -import Qt.labs.platform 1.0 +import Qt.labs.platform 1.1 TestCase { id: testCase @@ -62,7 +62,10 @@ TestCase { Component { id: menuItem - MenuItem { } + // Check that icon.name can be used in this Qt.labs.platform version + MenuItem { + icon.name: "" + } } SignalSpy { |