diff options
| author | Alexey Edelev <[email protected]> | 2024-05-17 17:35:19 +0200 |
|---|---|---|
| committer | Alexey Edelev <[email protected]> | 2024-05-17 21:09:58 +0200 |
| commit | c407036ab524b2c04f5e124500cd56dbcdaf0d22 (patch) | |
| tree | 09413d6500f41453007f8b88cac1bc40d7011875 | |
| parent | 9b784345795984878d2938d6903e7c87ae7f0778 (diff) | |
Add the registration of QByteArrayList in QML
Add the wrapping struct that registeres the QML_FOREIGN QByteArrayList
container in QML.
The type could be useless in QML context, but Qt submodules generate
the scriptable properties of this type, so it's expected that the type
is registered by QML builtins.
Task-number: QTBUG-125240
Change-Id: I47bf224ba3b5bf23911c02c451f49f2a1148c75f
Reviewed-by: Ulf Hermann <[email protected]>
| -rw-r--r-- | src/qml/qqmlbuiltins_p.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/qml/qqmlbuiltins_p.h b/src/qml/qqmlbuiltins_p.h index 187e11d5da..43e3a70dff 100644 --- a/src/qml/qqmlbuiltins_p.h +++ b/src/qml/qqmlbuiltins_p.h @@ -338,6 +338,14 @@ struct QQmlQByteArrayForeign QML_FOREIGN(QByteArray) }; +struct QQmlQByteArrayListForeign +{ + Q_GADGET + QML_ANONYMOUS + QML_FOREIGN(QByteArrayList) + QML_SEQUENTIAL_CONTAINER(QByteArray) +}; + struct QQmlQStringListForeign { Q_GADGET |
