diff options
author | Maximilian Goldstein <max.goldstein@qt.io> | 2022-02-21 16:08:50 +0100 |
---|---|---|
committer | Maximilian Goldstein <max.goldstein@qt.io> | 2022-02-22 16:52:54 +0100 |
commit | 1829d7c64c1d8d5b42241135bfead030521cb398 (patch) | |
tree | 930450e602368499fef9f1ae77f4bf000ff3dc5b /tests/auto/qml/qqmlmetaobject | |
parent | 167b22c7010363275f2895ff4965529b35c36eac (diff) |
qmllint: Properly warn about calling properties
Previously whenever a property was called the warnings qmllint emitted
made it seem like the property was just not found instead of not being
callable.
Now we will warn if you try to call a property and warn about
properties shadowing methods, slots or signals. We also discourage
calling variant properties now that may or may not be a function.
This change also fixes an assert being hit in isMissingPropertyType
due to our previous, lackluster checks.
Fixes: QTBUG-101074
Pick-to: 6.3
Change-Id: I0790b4a4584f3430ee1d8ddf549611225a36cc5b
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'tests/auto/qml/qqmlmetaobject')
0 files changed, 0 insertions, 0 deletions