summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qsharedpointer.cpp
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2025-02-25 18:08:35 +0100
committerAlexandru Croitor <alexandru.croitor@qt.io>2025-02-27 16:19:46 +0100
commit9245d0a0f0761364e7b5b3d1c5c96cba16522820 (patch)
tree43226da5f173711d1bb200f7158ab6adb20b6fc8 /src/corelib/tools/qsharedpointer.cpp
parentcef7892135b4fccc85512629e8bee76ddfbc3240 (diff)
CMake: Handle installing files with same name during SBOM generation
It's possible for a project to install a custom file with the same name into different destination directories, and want to include them in the SBOM. Previously this failed at CMake generation time with an error like: CMake Error: Files to be generated by multiple different commands: qt_sbom/SPDXRef-PackagedFile-foo-bar.cmake This happened due to using a non-unique filename for the generated SBOM building file, as well as the spdx id the file name is based on. Include a short hash based on the installed relative path of the file to avoid spdx id clashes, and thus generated file name clashes. Pick-to: 6.8 6.9 Task-number: QTBUG-122899 Change-Id: I4c2ecd4652708504ef299af9b6f53d680d542382 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src/corelib/tools/qsharedpointer.cpp')
0 files changed, 0 insertions, 0 deletions