From 43fb26b2641dad712b8562630b2eb599b4ec2dde Mon Sep 17 00:00:00 2001 From: Maurice Kalinowski Date: Wed, 15 Feb 2017 12:25:01 +0100 Subject: 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 Reviewed-by: Titta Heikkala --- tradeshow/iot-sensortag/SensorTagDemo.pro | 1 + 1 file changed, 1 insertion(+) (limited to 'tradeshow/iot-sensortag/SensorTagDemo.pro') 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 -- cgit v1.2.3