aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qquickninepatchimage
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qquickninepatchimage')
-rw-r--r--tests/auto/qquickninepatchimage/CMakeLists.txt1
-rw-r--r--tests/auto/qquickninepatchimage/data/ninepatchimage.qml8
2 files changed, 5 insertions, 4 deletions
diff --git a/tests/auto/qquickninepatchimage/CMakeLists.txt b/tests/auto/qquickninepatchimage/CMakeLists.txt
index 23c2adb2..4372cbce 100644
--- a/tests/auto/qquickninepatchimage/CMakeLists.txt
+++ b/tests/auto/qquickninepatchimage/CMakeLists.txt
@@ -34,6 +34,7 @@ qt_add_test(tst_qquickninepatchimage
Qt::QmlPrivate
Qt::Quick
Qt::QuickControls2
+ Qt::QuickControls2Private
Qt::QuickPrivate
Qt::QuickTemplates2Private
Qt::TestPrivate
diff --git a/tests/auto/qquickninepatchimage/data/ninepatchimage.qml b/tests/auto/qquickninepatchimage/data/ninepatchimage.qml
index 4b9ac278..410a61f9 100644
--- a/tests/auto/qquickninepatchimage/data/ninepatchimage.qml
+++ b/tests/auto/qquickninepatchimage/data/ninepatchimage.qml
@@ -1,7 +1,7 @@
-import QtQuick.Controls 2.12
-import QtQuick.Controls.impl 2.12
-import QtQuick.Controls.Imagine 2.12
-import QtQuick.Controls.Imagine.impl 2.12
+import QtQuick.Controls
+import QtQuick.Controls.impl
+import QtQuick.Controls.Imagine
+import QtQuick.Controls.Imagine.impl
NinePatchImage {
}