aboutsummaryrefslogtreecommitdiffstats
path: root/tools/qmllint/checkidentifiers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/qmllint/checkidentifiers.cpp')
-rw-r--r--tools/qmllint/checkidentifiers.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/qmllint/checkidentifiers.cpp b/tools/qmllint/checkidentifiers.cpp
index 4cfcaf91d3..66903c29a8 100644
--- a/tools/qmllint/checkidentifiers.cpp
+++ b/tools/qmllint/checkidentifiers.cpp
@@ -119,6 +119,9 @@ void CheckIdentifiers::checkMemberAccess(const QVector<FieldMember> &members,
return;
}
+ if (unknownBuiltins.contains(scope->internalName()))
+ return;
+
const auto property = scope->property(access.m_name);
if (!property.propertyName().isEmpty()) {
const auto binding = scope->propertyBinding(access.m_name);