Re:Speedy Desktop Apps with GTK and Rust
by 0815test on Saturday July 06, 2019 @03:25PM
(#20371374)
Rust has excellent support for compile-time codegen.
[ Parent
| on HN ]
You are welcome to try to duplicate the functionality of the moc tool somehow. If it was trivial, it would have been done already.
It has been done already: https://github.com/woboq/qmetaobject-rs
Hm... unless I am mistaken, this misses the ability to write arbitrary slots and connect them. If I am right, then a major part of what moc is responsible for - the whole signal/slot glue code - is not covered in this library.