diff options
| author | Alexandru Croitor <alexandru.croitor@qt.io> | 2025-09-04 14:03:16 +0200 |
|---|---|---|
| committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2025-09-17 16:54:17 +0200 |
| commit | 928f6cd209c42441c62e7a92e28f2e1e99b02c7e (patch) | |
| tree | e48e5f822d1d31a929f23cbdd1f1903a5560af49 /src/plugins/sqldrivers/mysql/qsql_mysql.cpp | |
| parent | 26287dd0ee358875c7e839b7a21b0e7eea2ac7db (diff) | |
CMake: Rename TYPE to SBOM_ENTITY_TYPE in SBOM API
Introduce two new options for SBOM entity type specification:
- SBOM_ENTITY_TYPE: has the highest priority
- DEFAULT_SBOM_ENTITY_TYPE: Used as a fallback when no explicit type
is given.
Deprecate the old pre-existing TYPE option in favor of either
SBOM_ENTITY_TYPE or DEFAULT_SBOM_ENTITY_TYPE.
The reason is to allow forwarding these option names directly via
functions like qt_internal_add_sbom, or the Creator equivalents,
without having a potential clash with a very generic name like TYPE.
Adjust the code to use the new options inside the various
implementation functions, but keep the old TYPE option for
compatibility in the public facing APIs, to not break existing
callers.
Pick-to: 6.8 6.9 6.10
Task-number: QTBUG-134894
Change-Id: I36cd6c4a5dab19221efacbe32688eab7db4f142f
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Diffstat (limited to 'src/plugins/sqldrivers/mysql/qsql_mysql.cpp')
0 files changed, 0 insertions, 0 deletions
