diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2017-12-20 11:04:10 +0100 |
---|---|---|
committer | Liang Qi <liang.qi@qt.io> | 2018-01-08 12:32:19 +0000 |
commit | 1688e951114417edd640fbb3d3cf25c2471a4f2b (patch) | |
tree | 9bdaf89456246bf454afe2fceda336c23f8dfa4d /src/src.pro | |
parent | 6d9e2356d161907353a5fde3123fca508c883e9e (diff) |
Fix build without network
The "qml-network" feature depends on the general "network" feature and
we shouldn't query network-specific features if it's not set.
Change-Id: Id7d39f839a35c121565096151c5df3ab4da76632
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/src.pro')
-rw-r--r-- | src/src.pro | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/src.pro b/src/src.pro index 42bf90e092..33c47048b5 100644 --- a/src/src.pro +++ b/src/src.pro @@ -2,7 +2,7 @@ TEMPLATE = subdirs CONFIG += ordered include($$OUT_PWD/qml/qtqml-config.pri) include($$OUT_PWD/quick/qtquick-config.pri) -QT_FOR_CONFIG += network qml quick-private +QT_FOR_CONFIG += qml quick-private SUBDIRS += \ qml @@ -21,4 +21,7 @@ SUBDIRS += \ imports \ qmldevtools -qtConfig(localserver):qtConfig(qml-debug): SUBDIRS += qmldebug +qtConfig(qml-network) { + QT_FOR_CONFIG += network + qtConfig(localserver):qtConfig(qml-debug): SUBDIRS += qmldebug +} |