summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/positioning/positioning.pro5
-rw-r--r--examples/positioning/weatherinfo/weatherinfo.pro1
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