Fix qtopenapi tests configuration error
- Add qt_autogen_tools_initial_setup() calls back for all
auto-generated test libraries. The qt_autogen_tools_initial_setup()
helps CMake to find the path to the moc on configuration step.
Without the fix top-level configuration failed with the
following error:
CMake Error: AUTOMOC for target ColorpaletteClient:
The "moc" executable ".../qtbase/libexec/moc" does not exist.
Change-Id: I0f0cf0d4d4d063610f0a5b311a3d9134790dbcc7
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
| commit | f63f83dfb143f483d9771e3fa83a1dc2773376ec |
| parent | c904f5bcce1276cedde981d63bbe9bfde4a7291b |
| author | Tatiana Borisova <tatiana.borisova@qt.io> |
| committer | Tatiana Borisova <tatiana.borisova@qt.io> |
| commit time | Mon, 17 Nov 2025 16:35:39 +0000 |
- M tests/auto/colorpalette/client/colorpalettetest/CMakeLists.txt
- M tests/auto/compression/client/tst_compression/CMakeLists.txt
- M tests/auto/linking_several_clients/application/CMakeLists.txt
- M tests/auto/mediatype/client/mediatype/CMakeLists.txt
- M tests/auto/openapi2.0/client/openapi2.0/CMakeLists.txt
- M tests/auto/operation-parameters/client/OperationParameters/CMakeLists.txt
- M tests/auto/petstore/client/CMakeLists.txt
- M tests/auto/responses/client/Responses/CMakeLists.txt