This is a sample application illustrating how to use zig-gobject.
- Gtk4 + LibAdwaita
- Blueprints
- libintl (Translation)
- GSchema (Preferences)
- Replace all IDs and similar items to your desired values. Hint:
grep -r --exclude-dir=zig-out --exclude-dir=.zig-cache "zig-gobject-template"` find -name "*zig-gobject-template*" -not -path "./zig-out/*" -not -path "./.zig-cache/*"
- Build (and run) the application:
zig build zig build run
Since building natively on Windows does not work paricularly well, you need to cross-compile the application from Linux:
# fetch required libraries dependencies (only required the first time)
sh fetch-windows-libs.sh
# cross-compile to windows
zig build -Dtarget=x86_64-windows