-
Suggestion
-
Resolution: Unresolved
-
P2: Important
-
None
-
None
-
92c566704 (dev), 06c2dbbc4 (dev), bb01a67c4 (dev), e3116610a (dev), 25bcfbdf5 (dev), f31891340 (dev), 68b694e5f (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
-
For Gerrit Dashboard: QTBUG-139088 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
668589,6 | Rust: add destructor to VTable generated for interfaces | dev | qt/tqtc-qtbridges | Status: MERGED | +2 | 0 |
668693,4 | Rust: assume that for every generated proxy a VTable must be generated | dev | qt/tqtc-qtbridges | Status: MERGED | +2 | 0 |
668694,6 | Rust: fix indents after the previous commit | dev | qt/tqtc-qtbridges | Status: MERGED | +2 | 0 |
668818,3 | Rust: make common code for type generation a bit more customizable | dev | qt/tqtc-qtbridges | Status: MERGED | +2 | 0 |
669184,6 | Rust: change ownership and way of coupling of QObject and Rust object | dev | qt/tqtc-qtbridges | Status: MERGED | +2 | 0 |
669279,5 | Rust: do not generate C++ code that became unused after the previous commit | dev | qt/tqtc-qtbridges | Status: MERGED | +2 | 0 |
670623,3 | Rust: do not pass size of Rust object to QObject proxies | dev | qt/tqtc-qtbridges | Status: MERGED | +2 | 0 |