diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2023-01-03 15:45:31 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2023-01-20 20:39:11 +0100 |
commit | ec58c0ddb7fe1ebf33c80335ab9435e53fd00274 (patch) | |
tree | d30a8779fa5fb82bcc9e3b31e581d3962dc81d21 /src/qml/common | |
parent | ea5200b82f21e0f4d080d3fc256b218e0ee56f3d (diff) |
QML: Add a pragma for value type behavior
Unfortunately value types behave differently when compiled to C++.
Document the difference and introduce a pragma to make them behave one
way or the other.
Pick-to: 6.5
Fixes: QTBUG-109221
Change-Id: Ib2685153c0b4ae209bafbea7a01229377fdb47dd
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qml/common')
-rw-r--r-- | src/qml/common/qv4compileddata_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/common/qv4compileddata_p.h b/src/qml/common/qv4compileddata_p.h index 58a7009083..cd96067769 100644 --- a/src/qml/common/qv4compileddata_p.h +++ b/src/qml/common/qv4compileddata_p.h @@ -1184,6 +1184,7 @@ struct Unit ComponentsBound = 0x200, FunctionSignaturesEnforced = 0x400, NativeMethodsAcceptThisObject = 0x800, + ValueTypesCopied = 0x1000, }; quint32_le flags; quint32_le stringTableSize; |