filcuc / dqml

Qt Qml bindings for the D programming language
GNU Lesser General Public License v3.0
42 stars 14 forks source link

[Question] How do i make an array accessible to QML via @QtSlot ? #17

Closed bamarc closed 6 years ago

bamarc commented 6 years ago

Which data types are available? Is there something like a QList which i can use to convert my data?

filcuc commented 6 years ago

do you mean support for QQmlListProperty ? or something more simple like QVariantList? The latter could be added without too much work. The same cannot be said for QQmlListProperty

bamarc commented 6 years ago

Okay, thank you. I solved it by wrapping every Array in a QObject, which works great.