summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@theqtcompany.com>2015-11-06 13:10:37 +0100
committerKarsten Heimrich <karsten.heimrich@theqtcompany.com>2015-11-06 13:37:37 +0000
commit111f9c77462bbd26c927f85180377993eb2020e9 (patch)
tree7c615fe41d658769accb34a833277f473d0a0e26 /tests
parenta8e220f7db3b7c4c0b6e7f1fb46190f6d530d88e (diff)
Fix warning in QModbusDevice unit test
tst_qmodbusdevice.cpp:60:22: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 bool openState = false; ^ Change-Id: Ifb2a653a4fdbf4cc72105e8a81607fb815d610f0 Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qmodbusdevice/qmodbusdevice.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qmodbusdevice/qmodbusdevice.pro b/tests/auto/qmodbusdevice/qmodbusdevice.pro
index e16ed0f..9f2e011 100644
--- a/tests/auto/qmodbusdevice/qmodbusdevice.pro
+++ b/tests/auto/qmodbusdevice/qmodbusdevice.pro
@@ -1,6 +1,6 @@
QT = core testlib serialbus
QT += core-private serialbus-private # to test QModbusDevicePrivate
TARGET = tst_qmodbusdevice
-CONFIG += testcase no_private_qt_headers_warning
+CONFIG += testcase no_private_qt_headers_warning c++11
SOURCES += tst_qmodbusdevice.cpp