diff options
| author | Fabian Kosmale <fabian.kosmale@qt.io> | 2025-03-18 17:30:57 +0100 |
|---|---|---|
| committer | Fabian Kosmale <fabian.kosmale@qt.io> | 2025-04-01 20:05:00 +0100 |
| commit | 2c35772646eb840b8ffceb2812725a2f03d554e8 (patch) | |
| tree | a806c283864ace32ae8663e31eb97ce2f940e5a6 /src/quick/doc/snippets/qml | |
| parent | accea7e33a6e67dae7aca20ba37907226eb5ea47 (diff) | |
qmllint: Do not warn about required properties in grouped property scopes
If a type with required properties is accessed via a grouped scope, we
can't know whether the object already exists, or whether it would need
to be created.
Avoid false positives and don't emit a warning when we encounter a
grouped property scope, or any non-QML scope. Non-grouped, non-QML
scopes should not trigger the issue, but don't need to be checked
either, avoiding some needless work.
As a drive-by change, don't put spaces into a data test tag (which does
not play nice with running the test separately).
Amends daf57e29de918b7b4be7bb0d469db0c51d41bb07
Pick-to: 6.8 6.9 6.5
Fixes: QTBUG-134887
Change-Id: I747239c5d72993cf9a1563c875cefaf89c8e52a2
Reviewed-by: Olivier De Cannière <olivier.decanniere@qt.io>
Diffstat (limited to 'src/quick/doc/snippets/qml')
0 files changed, 0 insertions, 0 deletions
