Post #1975006
2026-04-26 13:55 UTC
Hey fediverse, I have a question about #rust ; I'm thinking about learning a bit more of it, but I would like to use it with Qt Widgets. Is it possible? Does it work well? Are there like big missing pieces that only work theoretically? Googling gives me a fairly inconsistent answers, everything between "it works perfectly" and "it's a nightmare". (Also yes I would like to know how Qt works, not about alternatives to Qt, most definitely not about Gtk)
Replies (3)
-
@ragectl@hachyderm.io 2026-04-26 14:05
@marmarta@chaos.social this is a good resource to check out for Rust GUI https://areweguiyet.com/
-
@fogti@chaos.social 2026-04-26 14:06
@marmarta@chaos.social It is possible, but the easiest way afaik is to build a wrapper in C++ around the Qt parts, which exports a C interface that can be used from Rust. (stuff like the `cxx` crate (unfortunately by dtolnay) make some stuff easier)
-
@michalfita@mastodon.social 2026-04-26 18:13
@marmarta@chaos.social @kdab@techhub.social are experts of both Qt and Rust, Leon Matthes doesn't seem to be present on Fediverse.