summaryrefslogtreecommitdiffstats
path: root/src/scxml/qscxmlecmascriptplatformproperties_p.h
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@qt.io>2018-06-28 11:07:18 +0200
committerUlf Hermann <ulf.hermann@qt.io>2018-06-28 13:13:54 +0000
commit67d9d69b97c8c2db54974850783d0d10292f63b5 (patch)
treeeda5530ab35dfb19293e70506dcfd048c5d83e8b /src/scxml/qscxmlecmascriptplatformproperties_p.h
parent81205d62c91c05ab0639052baeeb637236159473 (diff)
Make the ECMAScript model a configurable feature
Introducing this feature allows our users to slim down the module. Task-number: QTBUG-61960 Change-Id: I94215fd3c6dee9766a5f7479bec0440cdfe85ac1 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/scxml/qscxmlecmascriptplatformproperties_p.h')
-rw-r--r--src/scxml/qscxmlecmascriptplatformproperties_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/scxml/qscxmlecmascriptplatformproperties_p.h b/src/scxml/qscxmlecmascriptplatformproperties_p.h
index b751bda..e7b8a09 100644
--- a/src/scxml/qscxmlecmascriptplatformproperties_p.h
+++ b/src/scxml/qscxmlecmascriptplatformproperties_p.h
@@ -58,6 +58,8 @@
QT_FORWARD_DECLARE_CLASS(QJSEngine)
QT_FORWARD_DECLARE_CLASS(QJSValue)
+QT_REQUIRE_CONFIG(scxml_ecmascriptdatamodel);
+
QT_BEGIN_NAMESPACE
class QScxmlStateMachine;