diff options
author | Maurice Kalinowski <maurice.kalinowski@qt.io> | 2017-10-18 09:31:08 +0200 |
---|---|---|
committer | Maurice Kalinowski <maurice.kalinowski@qt.io> | 2017-10-18 12:14:30 +0000 |
commit | 21ab77013bb37eebb584c21256481ab2abe64aa0 (patch) | |
tree | 80e8b8e8c77fec7eae8a81d56e83ea4356d232f3 /tradeshow | |
parent | 2496a947558110a7ee41300333d1a882bbe7039c (diff) |
iot-sensortag: Make any cloud backend optional
Previously, either the MQTT or Azure backend was enabled. But there are
users who prefer to have a pure local build. Hence UPDATE_TO_AZURE is an
optional setting now.
Change-Id: Ie1ff8b6eaa1c357f83a971bd2ded59d40f2c2eb0
Reviewed-by: Shrikant Dhumal <shrikant.dhumal@qt.io>
Diffstat (limited to 'tradeshow')
-rw-r--r-- | tradeshow/iot-sensortag/SensorTagDemo.pro | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tradeshow/iot-sensortag/SensorTagDemo.pro b/tradeshow/iot-sensortag/SensorTagDemo.pro index 71fa871..10f86be 100644 --- a/tradeshow/iot-sensortag/SensorTagDemo.pro +++ b/tradeshow/iot-sensortag/SensorTagDemo.pro @@ -27,6 +27,11 @@ win32|linux|android:!qnx { # This enables both, host and client mode # CONFIG += UPDATE_TO_MQTT_BROKER +# For using Azure cloud connectivity enable +# this config. This enabled both, host and +# client mode +# CONFIG += UPDATE_TO_AZURE + win32:!contains(CONFIG, UPDATE_TO_MQTT_BROKER) { WASTORAGE_PATH = $$(WASTORAGE_LOCATION) isEmpty(WASTORAGE_PATH): message("Location for Azure Storage libs unknown. Please specify WASTORAGE_LOCATION") @@ -61,11 +66,6 @@ HEADERS += \ mockdataproviderpool.h BLUETOOTH_HOST { - win32 { - !isEmpty(WASTORAGE_PATH):!isEmpty(CPPRESTSDK_LOCATION): CONFIG += UPDATE_TO_AZURE - } else { - CONFIG += UPDATE_TO_AZURE - } DEFINES += RUNS_AS_HOST SOURCES += \ |