aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qml/qmllint/data/layouts.qml7
-rw-r--r--tests/auto/qml/qmllint/tst_qmllint.cpp1
2 files changed, 8 insertions, 0 deletions
diff --git a/tests/auto/qml/qmllint/data/layouts.qml b/tests/auto/qml/qmllint/data/layouts.qml
new file mode 100644
index 0000000000..9051e93d36
--- /dev/null
+++ b/tests/auto/qml/qmllint/data/layouts.qml
@@ -0,0 +1,7 @@
+import QtQuick
+import QtQuick.Layouts
+
+Item {
+ ColumnLayout { id: lll }
+ property real layoutX: lll.x
+}
diff --git a/tests/auto/qml/qmllint/tst_qmllint.cpp b/tests/auto/qml/qmllint/tst_qmllint.cpp
index 8a07391ed0..c8e0dd2db3 100644
--- a/tests/auto/qml/qmllint/tst_qmllint.cpp
+++ b/tests/auto/qml/qmllint/tst_qmllint.cpp
@@ -365,6 +365,7 @@ void TestQmllint::cleanQmlCode_data()
QTest::newRow("multiExtension") << QStringLiteral("multiExtension.qml");
QTest::newRow("segFault") << QStringLiteral("SegFault.qml");
QTest::newRow("grouped scope failure") << QStringLiteral("groupedScope.qml");
+ QTest::newRow("layouts depends quick") << QStringLiteral("layouts.qml");
}
void TestQmllint::cleanQmlCode()