diff options
| author | Alexandru Croitor <alexandru.croitor@qt.io> | 2025-08-15 19:03:48 +0200 |
|---|---|---|
| committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2025-08-21 16:26:00 +0200 |
| commit | 253a7f95bca62760a6beb0acb4eb9966ebbd113e (patch) | |
| tree | 85b663e50e16cfdf584f805886eb2c7d54bc0c73 /src/widgets/doc/snippets/dockwidgets | |
| parent | 2ce6fd48e0219615d16ff2f93f85462c67848171 (diff) | |
CMake: Don't use private CMake API in doc snippets
Private CMake API like qt_internal_extend_target should not be used in
public doc snippets. While most of the CMakeLists.txt doc snippets
might not appear in the documentation right now, they might in the
future (just like the CMake API doc snippets).
In addition, using private CMake API for doc snippets targets causes
issues with SBOM generation, because the original targets are not
created with private API (e.g. qt_internal_add_module vs
qt_add_library), and thus important sbom meta information is missing,
causing errors at cmake configure time when sbom generation is
enabled.
Pick-to: 6.8 6.9 6.10
Change-Id: I2ef80f617ba8b745520408d22dd2e6be5ee4c5e0
Reviewed-by: Oleksii Zbykovskyi <Oleksii.Zbykovskyi@qt.io>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src/widgets/doc/snippets/dockwidgets')
0 files changed, 0 insertions, 0 deletions
