[qt/qt/qtdeclarative]: Summary of bulk changes made
KDE Git Services - Bulk Change <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git repository change summary for qt/qt/qtdeclarative
Pushed by mirror-service into branch 'dev'.
Changed from c002f8f328eae35567081bb86e6777502ee0ca26 to 29b8f99d52faf35ca228e0bf0d08671ee698d7ce
Acknowledgement was received that this change introduces only existing code that has been pushed to another public open source repository.
This change contains the following new commits:
Git commit 29b8f99d52faf35ca228e0bf0d08671ee698d7ce by Liu Zheng on 13/08/2026 at 12:33..
QQmlJSImportVisitor: resolve grouped properties starting with underscore
A property alias whose name starts with an underscore (e.g. "property alias
_bar: theItem") could not be referenced via an object binding ("_bar { ... }")
because the visitor only treated names starting with a lower case letter as
grouped properties. Underscore is neither an upper- nor a lower case letter, so
"_bar" was treated as a type name and qmllint reported "_bar was not found".
QML type names always start with an upper case letter, so change the heuristic
from "starts with a lower case letter" to "does not start with an upper case
letter". This also matches the runtime, which resolves "_bar { }" as a binding
to the _bar property.
Add a cleanQmlSnippet test entry covering an underscore-prefixed grouped
property binding to avoid regressing on this aspect.
Pick-to: 6.12 6.11
Fixes: QTBUG-144449
Task-number: QTBUG-146947
Change-Id: I7c64392a0d2d643fd4b7e2f3b015aad884c3247d
Reviewed-by: Olivier De Cannière <[email protected]>
https://invent.kde.org/qt/qt/qtdeclarative/-/commit/29b8f99d52faf35ca228e0bf0d08671ee698d7ce