[qt/qbs/qbs]: 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/qbs/qbs
Pushed by mirror-service into branch 'master'.
Changed from ec10a26da8b42435b207c61a0058cf88f8475af2 to cdbf33202f3b4b87e5f80fd89d14d804c93db089
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 34cec60af3e51900bbd04c562b750ddf025af73b by Christian Kandeler on 28/07/2026 at 08:19..
C++ support: Fix spurious detection of module names

Change-Id: I85a118cc25db2201826a77fd1ac890c1a74c6591
Reviewed-by: Ivan Komissarov <[email protected]>
https://invent.kde.org/qt/qbs/qbs/-/commit/34cec60af3e51900bbd04c562b750ddf025af73b

Git commit 7cf8bfda0f5f55214eedf292501264ecca154ce3 by Christian Kandeler on 28/07/2026 at 08:20..
Qt support: Fix moc rule for header files

- The splitting only applies when moc'ing cpp(m) files.
- moc can generate empty files due to imperfect scanning.

Amends 73efd744ba4301ed9acf0eb0da7b1b70f9f51947.

Change-Id: Ie5ba07ea9cb110df4f7cec98b9fe49681162039b
Reviewed-by: Ivan Komissarov <[email protected]>
https://invent.kde.org/qt/qbs/qbs/-/commit/7cf8bfda0f5f55214eedf292501264ecca154ce3

Git commit bf71b1c83a49c29c54027c46d7cdb6e2e8c2de8c by Ivan Komissarov on 28/07/2026 at 11:48..
Rework dep scanning

Move scanning to rule execution rather than when building
artifacts. This will allow scanners to add custom properties
to artifacts so that rule can access those (e.g. moc rule,
c++ modules).

This constructs a correct graph prior to building
dependencies so we no longer need postponing execution of
a node when new dependencies are found. The graph is not entirely correct
though as seen in TestApi::generatedFilesList - moc Rule is executed
prior to cpp rule and it also scans for dependencies.
This behaviour exists prior the patch too. Fixed in subsequent commit.

Another benefit is that JS artifact data is re-used by both scanner
and rule and is cleaned up after Rule is executed. Previously,
all JS scanners created that data second time which is slow.
Also, that data was not cleaned up until the build is finished.

========== Performance data for Resolving ==========
    Old instruction count: 10310359345
    New instruction count: 10308913488
    Relative change: 0 % (0 ‰)
    Old peak memory usage: 142708248 Bytes
    New peak memory usage: 143714376 Bytes
    Relative change: +0 % (7 ‰)
========== Performance data for Rule Execution ==========
    Old instruction count: 4310686057
    New instruction count: 4271901987
    Relative change: 0 % (-8 ‰)
    Old peak memory usage: 55909624 Bytes
    New peak memory usage: 56257344 Bytes
    Relative change: +0 % (6 ‰)
========== Performance data for Null Build ==========
    Old instruction count: 1358416687
    New instruction count: 1357073974
    Relative change: 0 % (0 ‰)
    Old peak memory usage: 45304984 Bytes
    New peak memory usage: 45454216 Bytes
    Relative change: +0 % (3 ‰)

Co-authored-by: Cursor <[email protected]>
Change-Id: I22fe83da160f716de6a06766b77b9dfbb86d0411
Reviewed-by: Christian Kandeler <[email protected]>
https://invent.kde.org/qt/qbs/qbs/-/commit/bf71b1c83a49c29c54027c46d7cdb6e2e8c2de8c

Git commit cdbf33202f3b4b87e5f80fd89d14d804c93db089 by Christian Kandeler on 28/07/2026 at 11:49..
C++ support: Update Lexer

Our copy was ancient and was missing a lot of modern C++ features.

Change-Id: I71281a078c613405418446dcfaaebff100142d57
Reviewed-by: Ivan Komissarov <[email protected]>
https://invent.kde.org/qt/qbs/qbs/-/commit/cdbf33202f3b4b87e5f80fd89d14d804c93db089
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.