Commit Graph

5 Commits

Author SHA1 Message Date
Lucie Gérard 1d2b0f3a48 Make module ready for source SBOM checking
This includes:
- turning VERIFY_SOURCE_SBOM ON
- adding rules to the licenseRule.json files
- correcting the licensing given via REUSE.toml files
- renaming license files not located in LICENSES folder.
Their name needs to be prefixed with `LICENSE.` to be ignored
by reuse and excluded from the source SBOM. The names are
updated in the corresponding qt_attribution.json

A lot of files are skipped during the license test,
but all are present in the source SBOM.
This is why corrections are needed before turning the
source SBOM check on.

[ChangeLog][Third-Party Code] Renaming the license files with prefix
LICENSE. to have them ignored by reuse tool.

Task-number: QTBUG-131434
Pick-to: 6.9 6.8
Change-Id: I98c2f13d06f32d10829351cbadd76db51c3c27b2
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2025-03-20 13:34:56 +01:00
Lucie Gérard e776c032ed Add REUSE.toml files and missing licenses
REUSE.toml files are read by reuse to complement or override the
copyright and licensing information found in file.

The use of REUSE.toml files was introduced in REUSE version 3.1.0a1.
This reuse version is compatible with reuse specification
version 3.2 [1].
With this commit's files,
* The SPDX document generated by reuse spdx conforms to SPDX 2.3,
* The reuse lint command reports that the Qt project is reuse compliant.

In order to be reuse compliant all the licenses referenced in file
or within a REUSE.toml file must be present in the LICENSES
directory at the base of the module.
The missing licenses are added.

[1]: https://reuse.software/spec-3.2/

Task-number: QTBUG-124453
Task-number: QTBUG-125211
Pick-to: 6.8
Change-Id: If07497860c819b00169a349edde641a29a5ef259
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2024-11-11 08:02:29 +01:00
Topi Reinio 1098e02389 Fix issues with qt_attribution.json files
src/3rdparty/imgui/qt_attribution.json:
Fix duplicated 'Id' used for two components.

Remove qt_attribution.json files from /tests for assets that are
duplicated also in /examples, with their attributions documented
there.

Fix the remaining attributions under /tests to belong to 'tests'
as defined by the 'QtParts' property.

Pick-to: 6.7 6.6 6.5
Change-Id: I6f9861ece33a660cce6a032fa92e0406b77798cd
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
2024-05-30 15:50:33 +00:00
Paul Lemire 1c560dc14e manual-tests: restore some assets that were removed by mistake
Pick-to: 6.6 6.5
Change-Id: Ica4c6735ce51f3490b70f624feece266bb862cb1
Reviewed-by: Mike Krus <mike.krus@kdab.com>
2023-11-02 13:56:42 +00:00
Mike Krus 00d139e39f Move some examples to manual tests
Reduces the maintenance burden.
Also fixed a few issues when moving code.

Pick-to: 6.5
Change-Id: I647f0c1a215f27a0e834d328ca64cfb570639b04
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
2023-02-27 13:36:05 +00:00