Adapt tests to Windows CI
The tests link to client libraries, which in turn link to their
respective common libraries.
On windows, when we run ctest, it is already aware of the Qt
installation path, but it fails to find the client and common libs.
Fix it by explicitly copying the libraries to the same directory
where the test executable is located.
Task-number: QTBUG-138968
Change-Id: I34c510762705c5c03fe7c0dcdc59d9d710aef250
Reviewed-by: Tatiana Borisova <tatiana.borisova@qt.io>
| commit | 6d17841a143b1935ccc885556c8735849d58a55e |
| parent | 73000ff0926db05c69170966ae7d53041c5a4b4f |
| author | Ivan Solovev <ivan.solovev@qt.io> |
| committer | Ivan Solovev <ivan.solovev@qt.io> |
| commit time | Thu, 30 Oct 2025 08:03:16 +0100 |
- 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/PetApiTest/CMakeLists.txt
- M tests/auto/petstore/client/StoreApiTest/CMakeLists.txt
- M tests/auto/petstore/client/UserApiTest/CMakeLists.txt
- M tests/auto/responses/client/Responses/CMakeLists.txt