summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/network-settings.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/network-settings.h b/tests/auto/network-settings.h
index 6ffb6f4..a770f8e 100644
--- a/tests/auto/network-settings.h
+++ b/tests/auto/network-settings.h
@@ -329,7 +329,7 @@ QByteArray QtNetworkSettings::imapExpectedReplySsl;
#define Q_SET_DEFAULT_IAP
#endif
-
+#ifdef QT_NETWORK_LIB
class QtNetworkSettingsInitializerCode {
public:
QtNetworkSettingsInitializerCode() {
@@ -343,3 +343,4 @@ public:
}
};
QtNetworkSettingsInitializerCode qtNetworkSettingsInitializer;
+#endif