diff options
Diffstat (limited to 'tests/auto/qml/qmllint/data/qmldirImportAndDepend')
-rw-r--r-- | tests/auto/qml/qmllint/data/qmldirImportAndDepend/QtObjectWithDefaultProperty.qml | 4 | ||||
-rw-r--r-- | tests/auto/qml/qmllint/data/qmldirImportAndDepend/good.qml | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/tests/auto/qml/qmllint/data/qmldirImportAndDepend/QtObjectWithDefaultProperty.qml b/tests/auto/qml/qmllint/data/qmldirImportAndDepend/QtObjectWithDefaultProperty.qml new file mode 100644 index 0000000000..fb856d0b29 --- /dev/null +++ b/tests/auto/qml/qmllint/data/qmldirImportAndDepend/QtObjectWithDefaultProperty.qml @@ -0,0 +1,4 @@ +import Things // imports QtQml +QtObject { + default property QtObject child +} diff --git a/tests/auto/qml/qmllint/data/qmldirImportAndDepend/good.qml b/tests/auto/qml/qmllint/data/qmldirImportAndDepend/good.qml index 275b531845..987301ef76 100644 --- a/tests/auto/qml/qmllint/data/qmldirImportAndDepend/good.qml +++ b/tests/auto/qml/qmllint/data/qmldirImportAndDepend/good.qml @@ -1,6 +1,6 @@ import Things -QtObject { +QtObjectWithDefaultProperty { // for default property objectName: "QtQml was imported from Things/qmldir" ItemDerived { |