From 01e253e77cacf7a4323078f6f92940bf2c3b505d Mon Sep 17 00:00:00 2001 From: Juha Vuolle Date: Wed, 30 Apr 2025 10:19:03 +0300 Subject: [PATCH] Put tst_qnetworkproxyfactory behind networkproxy feature MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ..as it heavily relies on it and fails to build without. Task-number: QTBUG-136101 Pick-to: 6.9 6.8 Change-Id: Ie2ba55e485cf96d568b0b22f27e19ffa72f48da9 Reviewed-by: Mate Barany Reviewed-by: MÃ¥rten Nordheim --- tests/auto/network/kernel/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/auto/network/kernel/CMakeLists.txt b/tests/auto/network/kernel/CMakeLists.txt index e92983139c9..0bea3a6f458 100644 --- a/tests/auto/network/kernel/CMakeLists.txt +++ b/tests/auto/network/kernel/CMakeLists.txt @@ -7,7 +7,9 @@ if(QT_FEATURE_dnslookup AND (QT_FEATURE_libresolv OR WIN32)) endif() if(QT_FEATURE_networkinterface) add_subdirectory(qnetworkaddressentry) - add_subdirectory(qnetworkproxyfactory) + if(QT_FEATURE_networkproxy) + add_subdirectory(qnetworkproxyfactory) + endif() add_subdirectory(qnetworkinterface) endif() if(QT_FEATURE_networkproxy)