diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2017-03-06 15:22:34 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2017-03-06 16:02:18 +0000 |
commit | d8ad5946227c7546b8daef71c139ac38be4c5617 (patch) | |
tree | 92b0f3edc5d444080d3dbb443d85b7c0890ce38d /examples | |
parent | 15cdea912b45d28c4d38c8a9f3cde8aab031e321 (diff) | |
download | qtlocation-d8ad5946227c7546b8daef71c139ac38be4c5617.tar.gz |
Don't build weatherinfo example without bearermanagement
bearermanagement is a platform-driven feature as lack of QLibrary
disables it. We should thus check for it.
Change-Id: Ia8c44f85293e528b54bef90c689bc409bc04aa86
Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/positioning/positioning.pro | 5 | ||||
-rw-r--r-- | examples/positioning/weatherinfo/weatherinfo.pro | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/examples/positioning/positioning.pro b/examples/positioning/positioning.pro index 0e436b46..bbdc1a42 100644 --- a/examples/positioning/positioning.pro +++ b/examples/positioning/positioning.pro @@ -1,4 +1,7 @@ TEMPLATE = subdirs qtHaveModule(widgets): SUBDIRS += logfilepositionsource -qtHaveModule(quick): SUBDIRS += geoflickr weatherinfo satelliteinfo +qtHaveModule(quick) { + SUBDIRS += geoflickr satelliteinfo + qtHaveModule(network): SUBDIRS += weatherinfo +} diff --git a/examples/positioning/weatherinfo/weatherinfo.pro b/examples/positioning/weatherinfo/weatherinfo.pro index e2b2102d..d8f9675a 100644 --- a/examples/positioning/weatherinfo/weatherinfo.pro +++ b/examples/positioning/weatherinfo/weatherinfo.pro @@ -2,6 +2,7 @@ TEMPLATE = app TARGET = weatherinfo QT += core network positioning qml quick +requires(qtConfig(bearermanagement)) SOURCES += main.cpp \ appmodel.cpp |