Commit Graph

2 Commits

Author SHA1 Message Date
Alexandru Croitor 26b349f569 CMake: Fix swapped SBOM Qt and Qt repo CPE functions
The function implementations were accidentally swapped, leading to
confusion and incorrect order of the CPEs.

The Qt generic CPE should be computed first, followed by the Qt
repository CPE.

That's because most vulnerability databases like the NVD use the qt
one.

Pick-to: 6.8 6.9 6.10
Change-Id: Ic67c00288318fdff3172b413eccfb413072480c8
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
2025-07-24 18:52:41 +02:00
Alexandru Croitor 27d2b54b5d CMake: Split SBOM implementation into separate files
The SBOM implementation got somewhat large. Split the code into
several new QtPublicSbomFooHelpers.cmake files, to make it more
manageable.

No code or behavior was changed.

Pick-to: 6.8 6.9
Task-number: QTBUG-122899
Change-Id: Ia0ca1792eec21d12c4bb4cabe63279e1f5c07e3d
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
2025-01-10 18:42:22 +01:00