aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/qmllint/findwarnings.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/qmllint/findwarnings.cpp b/tools/qmllint/findwarnings.cpp
index 51db82cbde..825baf1be1 100644
--- a/tools/qmllint/findwarnings.cpp
+++ b/tools/qmllint/findwarnings.cpp
@@ -287,6 +287,11 @@ bool FindWarningVisitor::visit(QQmlJS::AST::UiScriptBinding *uisb)
}
if (!qmlScope->hasProperty(name.toString())) {
+ // These warnings do not apply for custom parsers and need to be handled on a case by
+ // case basis
+ if (qmlScope->baseType()->hasCustomParser())
+ return true;
+
// TODO: Can this be in a better suited category?
m_logger.log(
QStringLiteral("Binding assigned to \"%1\", but no property \"%1\" "