-
Suggestion
-
Resolution: Unresolved
-
P1: Critical
-
None
-
None
-
bb01a67c4 (dev), e3116610a (dev), 25bcfbdf5 (dev), f31891340 (dev), 68b694e5f (dev), 0e3ba7598 (dev), 0f3e9d840 (dev), f62e3afe5 (dev), 339414834 (dev), 51d5d3452 (dev), 5d984023d (dev), eaa4b15b9 (dev), d12e5ac75 (dev), c4365747c (dev), 7f4725c8f (dev)
Cxx-Qt provides a qml_element macro to expose types to QML, which is very convenient. As of now we only expose single instances to QML with our Qt Bridge. Ideally our Qt Bridge could do the same.
In C++ we have a wide range of macros to do this, see https://doc.qt.io/qt-6/qqmlintegration-h.html
QML_ELEMENT or NAMED_QML_ELEMENT is probably the most commonly used macro and should be implemented in Rust. But we should also have a look at the others while at it.
Note that we agreed that this is not required for TP.
- blocks
-
QTBUG-139401 Qt Quick for Rust: Port ColorPalette Example to Rust
-
- In Progress
-
- is required for
-
QTBUG-134769 As a dev, I need a simple way to add a Qt Quick UI to my Rust code
-
- Open
-