summaryrefslogtreecommitdiffstats
path: root/src/plugins/sqldrivers/mysql/qsql_mysql.cpp
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2025-08-15 18:51:04 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2025-09-17 16:54:17 +0200
commit2088a1fff3926f723c03b96ebb9961a80ccf1f28 (patch)
treea0474ce61f7420df14a74b18e9a0b973577c21d0 /src/plugins/sqldrivers/mysql/qsql_mysql.cpp
parent2a1665dbad4f9befc87cbb2bc1ca46eccb7c88b0 (diff)
CMake: Move SBOM deferred finalization to the extend function
This ensures that both _qt_internal_extend_sbom and _qt_internal_add_sbom will trigger sbom finalization for targets. Previously only _qt_internal_add_sbom would run the finalization, which is counter-intuitive. One caveat is that we need to ensure we don't run finalization for system libraries as a result of the change. Finalization of system libraries is handled in a different pre-existing code path. We also shouldn't call _qt_internal_extend_sbom for qt_internal_extend_target if there are no SBOM, otherwise we trigger SBOM creation for targets like FooModulePrivate, which will trigger an error later because they don't have a TYPE. This might be revisited later if it makes sense to generate SBOM entries for such targets. Pick-to: 6.8 6.9 6.10 Task-number: QTBUG-134894 Change-Id: Ic14653f6baa920da46617061d8701ed9b94df093 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src/plugins/sqldrivers/mysql/qsql_mysql.cpp')
0 files changed, 0 insertions, 0 deletions