aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/translation
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/translation')
-rw-r--r--tests/auto/translation/CMakeLists.txt1
-rw-r--r--tests/auto/translation/data/comboBox.qml4
-rw-r--r--tests/auto/translation/data/dialogButtonBox.qml4
-rw-r--r--tests/auto/translation/data/dialogButtonBoxWithCustomButtons.qml4
4 files changed, 7 insertions, 6 deletions
diff --git a/tests/auto/translation/CMakeLists.txt b/tests/auto/translation/CMakeLists.txt
index 50e10171..5b9c576d 100644
--- a/tests/auto/translation/CMakeLists.txt
+++ b/tests/auto/translation/CMakeLists.txt
@@ -24,6 +24,7 @@ qt_add_test(tst_translation
Qt::GuiPrivate
Qt::QmlPrivate
Qt::QuickControls2
+ Qt::QuickControls2Private
Qt::QuickPrivate
Qt::QuickTemplates2Private
Qt::TestPrivate
diff --git a/tests/auto/translation/data/comboBox.qml b/tests/auto/translation/data/comboBox.qml
index 8bb8ed6f..cba1cf0c 100644
--- a/tests/auto/translation/data/comboBox.qml
+++ b/tests/auto/translation/data/comboBox.qml
@@ -48,8 +48,8 @@
**
****************************************************************************/
-import QtQuick 2.13
-import QtQuick.Controls 2.13
+import QtQuick
+import QtQuick.Controls
ComboBox {
objectName: "comboBox"
diff --git a/tests/auto/translation/data/dialogButtonBox.qml b/tests/auto/translation/data/dialogButtonBox.qml
index 03a3ae0e..fd8f9548 100644
--- a/tests/auto/translation/data/dialogButtonBox.qml
+++ b/tests/auto/translation/data/dialogButtonBox.qml
@@ -48,8 +48,8 @@
**
****************************************************************************/
-import QtQuick 2.13
-import QtQuick.Controls 2.13
+import QtQuick
+import QtQuick.Controls
Item {
property Dialog dialog: Dialog {
diff --git a/tests/auto/translation/data/dialogButtonBoxWithCustomButtons.qml b/tests/auto/translation/data/dialogButtonBoxWithCustomButtons.qml
index 6f046cf1..bf0fb512 100644
--- a/tests/auto/translation/data/dialogButtonBoxWithCustomButtons.qml
+++ b/tests/auto/translation/data/dialogButtonBoxWithCustomButtons.qml
@@ -48,8 +48,8 @@
**
****************************************************************************/
-import QtQuick 2.14
-import QtQuick.Controls 2.14
+import QtQuick
+import QtQuick.Controls
Item {
property Dialog dialog: Dialog {