aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRichard Moe Gustavsen <richard.gustavsen@qt.io>2020-09-02 21:47:06 +0200
committerRichard Moe Gustavsen <richard.gustavsen@qt.io>2020-09-03 09:11:57 +0200
commitec408de70371da1cf9b08b9b74cd5d89e91f4a80 (patch)
tree5035cb5f0d392ae5bf37f118e75ffca942b56678 /tests
parent0d3b8f832aad04c255dac64588b2693f2119cc0c (diff)
tst_qquickmenubar: don't use import versions
Change-Id: I1cb364046a35eac277ad08268b22851a6147d8c8 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qquickmenubar/tst_qquickmenubar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qquickmenubar/tst_qquickmenubar.cpp b/tests/auto/qquickmenubar/tst_qquickmenubar.cpp
index 5c75c838..05700240 100644
--- a/tests/auto/qquickmenubar/tst_qquickmenubar.cpp
+++ b/tests/auto/qquickmenubar/tst_qquickmenubar.cpp
@@ -554,7 +554,7 @@ void tst_qquickmenubar::addRemove()
QVERIFY(menuBar);
QQmlComponent component(&engine);
- component.setData("import QtQuick.Controls 2.0; Menu { }", QUrl());
+ component.setData("import QtQuick.Controls; Menu { }", QUrl());
QPointer<QQuickMenu> menu1(qobject_cast<QQuickMenu *>(component.create()));
QVERIFY(!menu1.isNull());