summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2016-08-15 10:35:53 +0200
committerLars Knoll <lars.knoll@qt.io>2016-10-10 14:11:47 +0000
commit4ee2bc4e9c05d8daec8b04412a0b7c0264fbc1a4 (patch)
tree03b0dd07b6b087b5bdaded499961ee1492d408ae /examples
parent11e0e5574a529e337e43ab15fca357b109ea2834 (diff)
Turn the no-network support into a configurable feature
Change-Id: Ic70f60c124fe166b37fbe9b853735be3c5e0d46d Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'examples')
-rw-r--r--examples/qml/qml.pro5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/qml/qml.pro b/examples/qml/qml.pro
index 4ed935f92f..df73fe0200 100644
--- a/examples/qml/qml.pro
+++ b/examples/qml/qml.pro
@@ -1,12 +1,13 @@
TEMPLATE = subdirs
+QT_FOR_CONFIG += qml
qtHaveModule(quick) {
SUBDIRS += \
qmlextensionplugins \
xmlhttprequest
- !no_network: SUBDIRS += \
- networkaccessmanagerfactory
+ qtConfig(qml-network): \
+ SUBDIRS += networkaccessmanagerfactory
}
SUBDIRS += \