diff options
| author | Alexandru Croitor <alexandru.croitor@qt.io> | 2025-12-12 19:30:58 +0100 |
|---|---|---|
| committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2025-12-17 18:29:03 +0100 |
| commit | b8e24741645efb75be695b933eb7a71cbdf038c2 (patch) | |
| tree | e7e6f8de49ace39cf2c034a6752ce4d955531bee /src/testlib/qtestxunitstreamer.cpp | |
| parent | 006827c04fee9745c9a606ebc58899f6d1d4c5ee (diff) | |
CMake: Change SBOM document namespace field to be more unique
Currently each Qt build of the same version has the same document
namespace value, which is not conformant to the SPDX spec.
The value needs to be different for different platforms, different
compilers, etc.
Ideally it would be fully random, but that is against build
reproducibility.
Modify the computed namespace to include fields like host / target
platform, architecture, by passing them as a document namespace infix.
Also append a deterministic v5 UUID based on various build inputs:
- build tools versions
- configure line (qt repo projects only)
- extra content provided as options
Allow various overrides for controlling the infix part as well as just
the uuid part.
Pick-to: 6.8 6.10 6.11
Task-number: QTBUG-142713
Change-Id: I39b122fa066c675f173f18ae9e6807b8234d5e69
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src/testlib/qtestxunitstreamer.cpp')
0 files changed, 0 insertions, 0 deletions
