gtk4-cross
cli
gtk4-cross | cli | |
---|---|---|
9 | 1 | |
55 | 162 | |
- | - | |
3.4 | 6.6 | |
5 days ago | 11 months 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
cli
-
Yet another question for a GUI framework (slint alternative?)
You can, but the user has to have webview installed. It can be bundled with the app with their cli tool (https://github.com/DioxusLabs/cli)
What are some alternatives?
gtk4-rs-docker - This repository provides docker images for building libadwaita-rs, gtk-rs applications
cushy - An experimental cross-platform graphical user interface (GUI) crate for Rust.
innosetup-docker - Docker image to create Windows installer executables with Inno Setup
slint - Slint is a declarative GUI toolkit to build native user interfaces for Rust, C++, or JavaScript apps.
druid - A data-first Rust-native UI design toolkit.
tauri - Build smaller, faster, and more secure desktop applications with a web frontend.
dioxus - Fullstack GUI library for web, desktop, mobile, and more.
sycamore - A library for creating reactive web apps in Rust and WebAssembly
cxx-qt - Safe interop between Rust and Qt
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]