diff options
author | Maurice Kalinowski <maurice.kalinowski@qt.io> | 2017-02-15 12:25:01 +0100 |
---|---|---|
committer | Titta Heikkala <titta.heikkala@qt.io> | 2017-02-15 12:23:24 +0000 |
commit | 43fb26b2641dad712b8562630b2eb599b4ec2dde (patch) | |
tree | 68554ea5ee7ad21c8bab5f3fd353cc9e29784321 /tradeshow/iot-sensortag/SensorTagDemo.pro | |
parent | f63158e6c866f421d5fe9d6bd5d4d9d2742cfe0a (diff) |
cleanup enabling range-for
foreach is considered harmful since 5.7 and will be deprecated with 5.9.
Add QT_NO_FOREACH to forbid accidental addition later on.
Change-Id: I652975c3454fdb7987cf8ea609d490476e9e7624
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Reviewed-by: Titta Heikkala <titta.heikkala@qt.io>
Diffstat (limited to 'tradeshow/iot-sensortag/SensorTagDemo.pro')
-rw-r--r-- | tradeshow/iot-sensortag/SensorTagDemo.pro | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tradeshow/iot-sensortag/SensorTagDemo.pro b/tradeshow/iot-sensortag/SensorTagDemo.pro index e92ce14..c6687fc 100644 --- a/tradeshow/iot-sensortag/SensorTagDemo.pro +++ b/tradeshow/iot-sensortag/SensorTagDemo.pro @@ -3,6 +3,7 @@ TEMPLATE = app QT += 3dcore 3drender 3dinput 3dquick 3dlogic core gui qml quick 3dquickextras widgets QT += bluetooth network CONFIG += c++11 +DEFINES += QT_NO_FOREACH # To overcome the bug QTBUG-58648, uncomment this define # Needed at least for RPi3 and iMX |