summaryrefslogtreecommitdiffstats
path: root/tests/auto/statemachine/statemachine.pro
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2016-09-06 14:18:50 +0200
committerUlf Hermann <ulf.hermann@qt.io>2016-09-12 15:37:50 +0000
commit314931009b6205e58391afcff6b25ee317dd7d91 (patch)
treedab8279e3afdbe119ef8bc5e65802de862b54bbc /tests/auto/statemachine/statemachine.pro
parenta1ca15291fec29194348dccf213b0587a505aafb (diff)
Add onEntry and onExit templates to QScxmlStateMachines
These help to avoid repeating "if (isInState) ..." if you only want to execute a handler when a state is entered, or "if (!isInState) ..." if you want to execute it only when a state is left. Change-Id: I0a73585591163dd2741b2d9d4897ee50e9623853 Reviewed-by: Erik Verbruggen <erik.verbruggen@qt.io>
Diffstat (limited to 'tests/auto/statemachine/statemachine.pro')
-rw-r--r--tests/auto/statemachine/statemachine.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/statemachine/statemachine.pro b/tests/auto/statemachine/statemachine.pro
index 0e4de1a..95bf9a8 100644
--- a/tests/auto/statemachine/statemachine.pro
+++ b/tests/auto/statemachine/statemachine.pro
@@ -1,5 +1,5 @@
QT = core gui qml testlib scxml-private
-CONFIG += testcase
+CONFIG += testcase c++14
TARGET = tst_statemachine
CONFIG += console