[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 '6.12'.
Changed from 22f3cf94172a0d5907263c91339a0d2b38ed6e7c to 1936c0c0f905fd26445e88f929768db5140a6548
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 1936c0c0f905fd26445e88f929768db5140a6548 by Qt Cherry-pick Bot (on behalf of Liu Zheng) on 14/08/2026 at 00:47..
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.11
Fixes: QTBUG-144449
Task-number: QTBUG-146947
Change-Id: I7c64392a0d2d643fd4b7e2f3b015aad884c3247d
Reviewed-by: Olivier De Cannière <[email protected]>
(cherry picked from commit 29b8f99d52faf35ca228e0bf0d08671ee698d7ce)
Reviewed-by: Qt Cherry-pick Bot <[email protected]>
https://invent.kde.org/qt/qt/qtdeclarative/-/commit/1936c0c0f905fd26445e88f929768db5140a6548
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.