summaryrefslogtreecommitdiffstats
path: root/src/network/kernel/qdnslookup.h
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2016-11-23 13:32:38 +0100
committerUlf Hermann <ulf.hermann@qt.io>2017-11-08 14:45:30 +0000
commit9bd30943bae136d28d42b9a9188a8586c963d461 (patch)
treeab545765338d00eb38c8a09ef7776a7cf1f399d5 /src/network/kernel/qdnslookup.h
parentb0c895fa7aa7f4d47dc9fc9ab3a65fbfb69f89ed (diff)
Add a feature for DNS lookup support
Exclude the relevant files from being built if it is disabled, and add QT_REQUIRE_CONFIG(dnslookup) to the headers. Change-Id: I3af298dc87d63c93f724928dd1135c20eba33045 Reviewed-by: Kai Koehne <kai.koehne@qt.io> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'src/network/kernel/qdnslookup.h')
-rw-r--r--src/network/kernel/qdnslookup.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/kernel/qdnslookup.h b/src/network/kernel/qdnslookup.h
index cd424b0cb9..eebd0abe66 100644
--- a/src/network/kernel/qdnslookup.h
+++ b/src/network/kernel/qdnslookup.h
@@ -47,6 +47,8 @@
#include <QtCore/qsharedpointer.h>
#include <QtCore/qstring.h>
+QT_REQUIRE_CONFIG(dnslookup);
+
QT_BEGIN_NAMESPACE
class QHostAddress;