4 ms·
Have you found any good tutorials or even documentation for using rust-qt? The bindgen that seems to show up on google search is very un-intuitive to use (or m
by isatty2 8y ago
Have you found any good tutorials or even documentation for using rust-qt?
The bindgen that seems to show up on google search is very un-intuitive to use (or maybe that's because I'm a rust newbie)
- fxfan 8y agoI seem to remember having come a Ross a link where the code objects in qml were rust and not Js. Can't find now. Seen this:? https://www.vandenoever.info/blog/2017/02/17/a-simple-rust-gui-with-qml.html https://www.vandenoever.info/blog/2017/02/17/a-simple-rust-g...
- rapsey 8y agoThat uses the qml crate that has not been updated in 2 years. Quite unlikely to not work at all. I've tried most QT Rust projects and none were all that usable. I'm afraid your plans are not likely to succeed.
- oever 8y agoI'm developing a few hobby projects with Qt and Rust. The Rust Qt Binding Generator I developed for that works so well for me that I've barely needed to improve it in months. https://www.vandenoever.info/blog/2018/10/30/building_qt_apps_with_cargo.html https://www.vandenoever.info/blog/2018/10/30/building_qt_app...
- rapsey 8y agoThat json glue is quite ofputting tbh. I did try it, but failed building it on macos.
- oever 8y agoThe JSON glue could be changed to Rust macros, but I've not found the time to do that. It's a bit ugly but free and works for me on Linux and I've had reports of success on Raspberry Pi and Windows. If it fails to build on Mac OS, I'd like to see why and help. The latest version uses Cargo for building, so e.g. `cargo qrep && qrep` should give you a working Rust + Qt example application.
- pknopf 8y agoMy project, Qml.Net (https://github.com/qmlnet/qmlnet https://github.com/qmlnet/qmlnet), does this as well, but with .NET.