aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2021-01-20 14:20:48 +0100
committerUlf Hermann <ulf.hermann@qt.io>2021-01-21 08:45:16 +0100
commit39944e8467e5e5d4457e9fec202413adf0fbb2d2 (patch)
treeabf0b4dd17837649a42e0860be754f4f321d9aca /tests/auto/qml
parent90be89d771425044a84e9e79e4e668e065acc825 (diff)
qmllint: Remove exceptions for most unknown builtins
All those types are properly defined in the qmltypes files now. We just need to search the enumerations the same way as methods and properties in order to find everything. Also, deduplicate the code that resolves properties, methods, and enums by using a common template for iterating the scopes. Change-Id: I0bf1423974d0ec8f602ecd0342522b3e981a8586 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tests/auto/qml')
-rw-r--r--tests/auto/qml/qmllint/data/ImportWithPrefix.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/qml/qmllint/data/ImportWithPrefix.qml b/tests/auto/qml/qmllint/data/ImportWithPrefix.qml
index 6d070da21a..e42a052187 100644
--- a/tests/auto/qml/qmllint/data/ImportWithPrefix.qml
+++ b/tests/auto/qml/qmllint/data/ImportWithPrefix.qml
@@ -1,5 +1,7 @@
+import QtQml
import "." as MyStuff
MyStuff.Simple {
property bool something: contains(Qt.point(12, 34))
+ property int other: Qt.AlignBottom
}