aboutsummaryrefslogtreecommitdiffstats
path: root/tools/qmllint
diff options
context:
space:
mode:
authorMaximilian Goldstein <max.goldstein@qt.io>2021-08-04 13:42:49 +0200
committerMaximilian Goldstein <max.goldstein@qt.io>2021-08-04 17:15:00 +0200
commitb0ed849d418c77737c8a19139c4ea704ce97a457 (patch)
treeacbbf3addc1eba791e7cdf8e80040986548cd181 /tools/qmllint
parentae6d1a3240226feac874c868965f80b5deb45d68 (diff)
qmllint: Move missing base type warning to qmlcompiler
Also changes the error message to be a bit clearer about what went wrong and does not involve the unrelated follow up property not being able to be resolved. Change-Id: I7071ca718b85d1282adacf40ba2bdc62fe5aad6d Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tools/qmllint')
-rw-r--r--tools/qmllint/checkidentifiers.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/tools/qmllint/checkidentifiers.cpp b/tools/qmllint/checkidentifiers.cpp
index 4d643c4817..e334078207 100644
--- a/tools/qmllint/checkidentifiers.cpp
+++ b/tools/qmllint/checkidentifiers.cpp
@@ -93,16 +93,8 @@ void CheckIdentifiers::checkMemberAccess(const QVector<FieldMember> &members,
for (qsizetype i = 0; i < members.size(); i++) {
const FieldMember &access = members.at(i);
- if (scope.isNull()) {
- m_logger->logWarning(
- QString::fromLatin1(
- "Type \"%1\" of base \"%2\" not found when accessing member \"%3\"")
- .arg(detectedRestrictiveKind)
- .arg(detectedRestrictiveName)
- .arg(access.m_name),
- Log_Type, access.m_location);
+ if (scope.isNull())
return;
- }
if (!detectedRestrictiveKind.isEmpty()) {
if (expectedNext.contains(access.m_name)) {