Open kieraneglin opened 7 years ago
qmlrs is without a single commit since over a year, try this one here as an alternative: https://github.com/White-Oak/qml-rust
There is even a further developed version of this one here: https://github.com/flanfly/qmlrs
And here is a binding for some other crates: https://github.com/rust-qt/cpp_to_rust
@ShalokShalom if you suggest people using alternatives, why not officialy deprecate/orphan the package at crates.io?
I'm not maintaining my qmlrs fork anymore. At Panopticon we ultimately settled on writing our own Qt wrapper. Before going down that route you may want to take a look at qml-rust.
Disclaimer: completely new to Rust and QML.
I want to be able to return a
Vec<CustomType>
and be able to iterate over the vector from within my QML template. For instance, I fetch a vector ofUser
's from a DB. How can I pass this vector to my QML template?I've tried passing an array of primitives without luck. What's the idiomatic way to handle this?
Thank you!