-
Suggestion
-
Resolution: Fixed
-
P2: Important
-
None
-
None
-
Foundation Sprint 136, Foundation Sprint 137, Foundation Sprint 138
We need a possibility to inform the QML side about events on the rust side. In traditional Qt these are signals (also properties but they have signals under the hood).
The currently suggested API is to use an attribute of the form
#[qsignal(cpp_name = "cppName")]
fn some_signal(&mut self, ...);
on the QML side we should be able to connect to onCppName with a connection.
The signal should be callable with common standard and Qt types as parameters and those should be usable on the QML side.
- is required for
-
QTBUG-134769 As a dev, I need a simple way to add a Qt Quick UI to my Rust code
-
- Open
-