summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/auto/network-settings.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/network-settings.h b/tests/auto/network-settings.h
index da96599..8a8c6f6 100644
--- a/tests/auto/network-settings.h
+++ b/tests/auto/network-settings.h
@@ -74,6 +74,7 @@ public:
};
+#ifdef QT_NETWORK_LIB
class QtNetworkSettingsInitializerCode {
public:
QtNetworkSettingsInitializerCode() {
@@ -87,3 +88,4 @@ public:
}
};
QtNetworkSettingsInitializerCode qtNetworkSettingsInitializer;
+#endif