Do not use custom compiler options in tests
The tests use qt_internal_add_test(), which means that they will
use the same compiler options that are used globally by Qt.
We should not override them.
The reason for this change is that /W4 warning level on Windows
was too strict and together with warnings-are-errors was causing
build errors in CI during a submodule update round.
Pick-to: 6.11
Change-Id: If8c00b66abc37ed45683c44ffd08bb78370f67f0
Reviewed-by: Tatiana Borisova <tatiana.borisova@qt.io>
| commit | c74a1fccdb67089cf21c323aa68254fd0f2978c4 |
| parent | a3cdad43b518f0c9f54abadd61b37c6937ccf0df |
| author | Ivan Solovev <ivan.solovev@qt.io> |
| committer | Ivan Solovev <ivan.solovev@qt.io> |
| commit time | Wed, 14 Jan 2026 17:56:40 +0100 |
- 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/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
- M tests/auto/server_configuration/client/tst_server_configuration/CMakeLists.txt