diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2017-12-18 16:20:11 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2018-02-11 19:20:12 +0000 |
commit | b897a4b9e54fc2c53115ca70dc64332ee3a00462 (patch) | |
tree | 0cddd885f8f1b4b4bd23631b09c36fa004af024f /src/qml/qtqmlglobal.h | |
parent | bf1a4d3c88bd954c4f5dc53639e0a27b7be963f7 (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.h | 1 |
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 |