News for hackers. Stuff that matters.
Re:CXX-Qt: Safe Rust bindings for Qt by isomel on Wednesday March 02, 2022 @08:34AM (#30527116)
There are already plenty of GUI solutions for rust. All with a diverse level of polishing and convenience.
Re:CXX-Qt: Safe Rust bindings for Qt by rapsey on Wednesday March 02, 2022 @08:43AM (#30527188)
A diverse level of incompleteness you mean. Nothing comparable to Qt exists.
Re:CXX-Qt: Safe Rust bindings for Qt by isomel on Wednesday March 02, 2022 @08:48AM (#30527261)
Exactly. But there are already bindings to Qt in different states. Let's see if this one bring anything.
Re:CXX-Qt: Safe Rust bindings for Qt by nu11ptr on Wednesday March 02, 2022 @10:03AM (#30528110)
AFAIK, the only complete desktop GUI option for Rust that is viable for large, professional apps is gtk-rs. There are many promising up and coming GUIs for hobby projects, but none I've seen are robust enough (yet) to support all needed widgets of a pro app.
Re:CXX-Qt: Safe Rust bindings for Qt by Macha on Wednesday March 02, 2022 @11:21AM (#30529026)
Accessibility support is the big killer for many of them, though even GTK has issues with that on Mac OS, so Qt would be a big win.

Or I guess you could put a Rust wasm app into electron also and have accessibility support that way. Has to be one that uses a real DOM and not just renders to a canvas or WebGL though.

Re:CXX-Qt: Safe Rust bindings for Qt by ogoffart on Wednesday March 02, 2022 @01:05PM (#30530510)
I think you can go quite far with Qt/QML and the qmetaobject crate. For example https://github.com/gyroflow/gyroflow
Re:CXX-Qt: Safe Rust bindings for Qt by nu11ptr on Wednesday March 02, 2022 @01:47PM (#30531134)
Ahh...very cool, thx. Didn't realize it was that capable and was not aware of this "demo". I will check it out as I need to write a GUI soon (and would prefer to use Rust).
Re:CXX-Qt: Safe Rust bindings for Qt by wongarsu on Wednesday March 02, 2022 @08:55AM (#30527318)
There are plenty of GUI solutions that are robust enough for an embedded GUI or some WebAssembly stuff. For native (desktop) applications the rust ecosystem still has a long way to go.
Re:CXX-Qt: Safe Rust bindings for Qt by the__alchemist on Wednesday March 02, 2022 @09:18AM (#30527538)
Yea - `embedded-graphics` is nice for embedded primatives and text.