cxx-qt
Relm4
cxx-qt | Relm4 | |
---|---|---|
28 | 23 | |
918 | 1,320 | |
4.9% | 3.9% | |
9.6 | 8.7 | |
5 days ago | 12 days ago | |
Rust | Rust | |
- | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
cxx-qt
- Cxx-Qt: Use Qt from Rust
-
Qt 6.6 and 6.7 Make QML Faster Than Ever: A New Benchmark and Analysis
My employer, KDAB, is building an excellent Rust binding for Qt: https://github.com/KDAB/cxx-qt
-
I like rust but want to use Qt.
You can use cxx-qt or qmetaobject-rs. Or use Slint
-
Build a desktop app with Qt and Rust
Rust has several Qt bindings. The most popular are Ritual, CXX-Qt, and qmetaobject. Ritual is not maintained anymore, and qmetaobject doesn't support QWidgets. So CXX-Qt is our best bet for now.
-
DAW Frontend Development Struggles
Qt bindings for Rust also exist, although I'm not sure how mature they are: https://github.com/KDAB/cxx-qt/
-
Build a desktop app with Qt and Rust - LogRocket Blog
We're getting closer, but you're still likely to run into missing features in CXX-Qt at this point. If you do, please report it on GitHub!
- GUI development with Rust and GTK 4
-
Who "owns" Rust ?
This is no longer required in CXX-Qt as of this week (https://github.com/KDAB/cxx-qt/pull/428). Next release coming soon.
-
The first issue of Rust Magazine has been published 🎉🎉
From my understanding KDAB isn't trying to "replace" Qt. They're working on cxx-qt to make using Qt and Rust together much easier.
-
Rust: State of GUI, December 2022 – KAS blog
I second this. I wrote an internal Qt/QML app that ran on Windows, Linux, Android, and Raspberry Pis. We had ~20 Raspberry Pi's running this app in kiosk mode. If only KDAB/cxx-qt[1] were ready there, I would have done as much as possible in rust .
- [1] https://github.com/KDAB/cxx-qt/
Relm4
-
Writing Gnome Apps with Swift
There is Relm (https://relm4.org/). Which is in Rust is just GTK (through it's Rust bindings) with a nice reactivity layer on top.
-
Resources for learning to write ui files for GTK4
I’d recommend you checking out https://relm4.org if you know a little Rust. Relm4 is currently the easiest and most intuitive way to write GTK
-
[media] Czkawka 6.0 - File cleaner, now finds similar audio files by content, files by size and name and fix and speedup similar images search
Relm4 might make your migration easier. It has factories which make it easy to create lists (both sync and async) and recently added TypedListView as another useful abstraction over pure gtk-rs. There is a lot of potential in Rust + GTK, you just have to find idiomatic abstractions.
-
What are the scenarios where "Rewrite it in Rust" didn't meet your expectations or couldn't be successfully implemented?
Did you try Relm? It's an implementation is the elm architecture (think react) on top of Gtk. Given your experience with Gtk it might suit you really well, as you can even take only parts of it and continue using bare Gtk for the rest. Give it a try!
- Native App Development
-
GUI development with Rust and GTK 4
What about relm4? Is it generally feature complete? Can one use relm4 for most things, and drop to gtk4 for the oddball task that is not supported?
https://relm4.org/
-
Newbie needs help with Relm4 errors. On Kubuntu
Using this example: https://github.com/Relm4/Relm4/blob/main/examples/simple.rs
-
Forte! A new way of writing Gtk apps for GNOME.
What advantage would this Rust crate have over Relm4? It seems pretty similar to me, save for the property based syntax that Forte has, instead of the set_* ones used on Relm4.
-
Need guidance for developping GTK4 + Libwaita apps
If you like Rust I recommend Relm4, one of the best experiences I’ve had with a framework tbh, be sure to learn gtk-rs first.
- Rust: State of GUI, December 2022 – KAS blog
What are some alternatives?
slint - Slint is a declarative GUI toolkit to build native user interfaces for Rust, C++, or JavaScript apps.
gtk4-rs - Rust bindings of GTK 4
qt6ct - Qt6 Configuration Tool
dispatch-proxy - Combine internet connections, increase your download speed
crates.io - The Rust package registry
Gtk4-tutorial - GTK 4 tutorial for beginners
miniserve - 🌟 For when you really just want to serve some files over HTTP right now!
gtk-rs - Rust bindings for GTK 3
gyroflow - Video stabilization using gyroscope data
owlkettle - A declarative user interface framework based on GTK 4
bonsai - A library for building dynamic webapps, using Js_of_ocaml
dioxus - Fullstack GUI library for web, desktop, mobile, and more.