diff options
| author | Alexandru Croitor <alexandru.croitor@qt.io> | 2024-12-03 11:56:54 +0100 |
|---|---|---|
| committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2024-12-03 21:18:21 +0100 |
| commit | df30953228f0e364e9a3915d97f522efd8e67489 (patch) | |
| tree | fbcea58cb9b9b052e8a62a2aa30bd5819cb5989a /src/tools/uic/cpp/cppwriteinitialization.cpp | |
| parent | 9bb9016b808bd3c708a22832099d06dbaaa0839d (diff) | |
CMake: Fix standalone build of sqldrivers with SBOM
The standalone build of the sqldrivers plugin never called the SBOM
project begin and end functions.
This cause an error in qt_internal_add_plugin which tried to read the
SBOM project name.
Replace the calls to qt_prepare_standalone_project and
qt_print_feature_summary with qt_build_repo_begin and
qt_build_repo_end.
This ensures the SBOM project is setup, as well as many other
behaviors that a standalone internal build of a module is expected to
have.
Additionally we need to tell the SBOM project where to find the
licenses for the standalone build. This is done by setting the new
QT_SBOM_LICENSE_DIRS variable to the qtbase license directory.
Pick-to: 6.8
Fixes: QTBUG-131799
Change-Id: I2e31ecffdff28561d1c4a6b8fbcd8125188d2c48
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src/tools/uic/cpp/cppwriteinitialization.cpp')
0 files changed, 0 insertions, 0 deletions
