diff options
| author | Ulf Hermann <ulf.hermann@qt.io> | 2023-06-30 10:14:17 +0200 |
|---|---|---|
| committer | Ulf Hermann <ulf.hermann@qt.io> | 2023-07-06 21:29:39 +0200 |
| commit | ca27c051ab52b764df8c8aab9c33211cbf94eba1 (patch) | |
| tree | f2215f58c940585ffa7dc00d11e4a61dc458711b /src/qml/jsruntime/qv4sequenceobject.cpp | |
| parent | 984f774ca9949c096bc3b9d04122c6c5014750a4 (diff) | |
QmlCompiler: Allow creation of structured value types
With this change, qmlcachegen can populate structured value types from
object literals.
Also fix the construction of value types via Q_INVOKABLE ctors. We don't
need to wrap the ctor argument in QVariant if we can store the original
type, and we should always look at the base type for the creatable flag,
not the extension.
Task-number: QTBUG-107469
Task-number: QTBUG-112485
Change-Id: I9f3db13f00466dc9d87237bdf0b380d6eeb58a10
Reviewed-by: Sami Shalayel <sami.shalayel@qt.io>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4sequenceobject.cpp')
0 files changed, 0 insertions, 0 deletions
