gtk4-cross
cxx-qt
gtk4-cross | cxx-qt | |
---|---|---|
9 | 28 | |
55 | 918 | |
- | 4.9% | |
3.4 | 9.6 | |
6 days ago | 6 days ago | |
Shell | Rust | |
- | - |
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.
gtk4-cross
-
Inkscape (vector graphics editor) is hiring: Accelerating the GTK4 migration
I use it from rust, it works with libadwaita. Since it's rust I just run cargo in a docker container. https://github.com/MGlolenstine/gtk4-cross
-
Can I deploy GTK applications to windows, osx and linux in a self-contained way?
(Assuming GTK4) For Windows you could try gtk4-cross. It was pretty clunky to use for Vala but since they have a Rust-specific image it should be easier for your use case
-
How to bundle shared libraries to distribute Rust binaries
For gtk programs I just put the dll's in the same folder as the binary and distribute it as a zip. Not the most elegant, but it works. I use this docker image to do the bundling https://github.com/MGlolenstine/gtk4-cross
-
One year of Relm4
If you're willing to install docker it's really easy to build and package for windows. https://github.com/MGlolenstine/gtk4-cross
-
Cross compiling GTK 4 to x86_64-pc-windows-gnu
I'm guessing you're not using this Docker container? → https://github.com/MGlolenstine/gtk4-cross
-
Forced static linking?
You can just bundle the required DLL's in the same directory as the executable. They don't need to install anything. You can use this docker container to handle the bundling automatically for you https://github.com/MGlolenstine/gtk4-cross
-
Yet another question for a GUI framework (slint alternative?)
With gtk4 you can just bundle the libs. You can check out https://github.com/MGlolenstine/gtk4-cross for a docker container that handles cross-compiling to windows and packaging the libs.
-
GitHub actions for my project to automatically compile for Linux/Windows and create Windows-installer.
The image for cross compiling: gtk4-cross
-
Is there a reliable and documented GUI library out there?
Yeah, it's actually much easier to cross compile from linux to windows. If you only have windows you can use docker desktop and this container to cross compile https://hub.docker.com/r/etrombly/rust-crosscompile . It doesn't have gtk4 support yet though, someone forked it if you need gtk4 https://github.com/MGlolenstine/gtk4-cross
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/
What are some alternatives?
gtk4-rs-docker - This repository provides docker images for building libadwaita-rs, gtk-rs applications
slint - Slint is a declarative GUI toolkit to build native user interfaces for Rust, C++, or JavaScript apps.
innosetup-docker - Docker image to create Windows installer executables with Inno Setup
qt6ct - Qt6 Configuration Tool
druid - A data-first Rust-native UI design toolkit.
crates.io - The Rust package registry
tauri - Build smaller, faster, and more secure desktop applications with a web frontend.
miniserve - 🌟 For when you really just want to serve some files over HTTP right now!
sycamore - A library for creating reactive web apps in Rust and WebAssembly
gyroflow - Video stabilization using gyroscope data
Slint - Slint is a toolkit to efficiently develop fluid graphical user interfaces for any display: embedded devices and desktop applications. We support multiple programming languages, such as Rust, C++ or JavaScript. [Moved to: https://github.com/slint-ui/slint]
bonsai - A library for building dynamic webapps, using Js_of_ocaml