aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qtqmlglobal.h
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2017-12-18 16:20:11 +0100
committerUlf Hermann <ulf.hermann@qt.io>2018-02-11 19:20:12 +0000
commitb897a4b9e54fc2c53115ca70dc64332ee3a00462 (patch)
tree0cddd885f8f1b4b4bd23631b09c36fa004af024f /src/qml/qtqmlglobal.h
parentbf1a4d3c88bd954c4f5dc53639e0a27b7be963f7 (diff)
QML: Make mapping of sequence object in JS optional
qv4sequenceobject.o is the largest single object in QtQml.so. This is probably due to template and macro explosion. Not everyone will want to pay this price to have Qt containers natively available in JS. Change-Id: I7dc64566a653c865d5c1b6e4f21a3a9089db100a Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/qml/qtqmlglobal.h')
-rw-r--r--src/qml/qtqmlglobal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/qtqmlglobal.h b/src/qml/qtqmlglobal.h
index 6e92867cf5..e02dfa5ed4 100644
--- a/src/qml/qtqmlglobal.h
+++ b/src/qml/qtqmlglobal.h
@@ -52,6 +52,7 @@
# endif
#else
# define QT_FEATURE_qml_debug -1
+# define QT_FEATURE_qml_sequence_object 1
#endif
QT_BEGIN_NAMESPACE