diff --git a/cmake/QtTestHelpers.cmake b/cmake/QtTestHelpers.cmake index e08ba7c8e62..81a2c7b9ba0 100644 --- a/cmake/QtTestHelpers.cmake +++ b/cmake/QtTestHelpers.cmake @@ -147,6 +147,9 @@ function(qt_internal_setup_docker_test_fixture name) if (NOT CMAKE_HOST_SYSTEM_NAME STREQUAL "Linux") return() endif() + if (QT_SKIP_DOCKER_COMPOSE) + return() + endif() set(QT_TEST_SERVER_LIST ${ARGN}) set(DNSDOMAIN test-net.qt.local)