summaryrefslogtreecommitdiffstats
path: root/qtconnectivity.pro
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>2018-09-26 14:24:45 +0200
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>2018-09-27 06:50:16 +0000
commit7d7651fb3bd0c2bdeb6159202d30cf475611da58 (patch)
tree1ce62161e2e007b1db214f6181325cdae822d3c7 /qtconnectivity.pro
parent266e8d9ecab68aa8367161c80d50675af78f0fb5 (diff)
Don't build when there is no Qt Network
Qt Connectivity depends on QAbstractSocket, so it will not build if Qt Network is not built. Change-Id: I94f812f4b4c0c23a38b6c0fcdef0ee962f68e8b0 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'qtconnectivity.pro')
-rw-r--r--qtconnectivity.pro3
1 files changed, 2 insertions, 1 deletions
diff --git a/qtconnectivity.pro b/qtconnectivity.pro
index dc0f77e3..6fac8049 100644
--- a/qtconnectivity.pro
+++ b/qtconnectivity.pro
@@ -1,3 +1,4 @@
-requires(!android|qtHaveModule(androidextras))
+requires(qtHaveModule(network):(!android|qtHaveModule(androidextras)))
+
load(qt_parts)