From 9808b79f2076026217dbd0027de62b12ad299304 Mon Sep 17 00:00:00 2001 From: Andrew Guschin Date: Sat, 25 Jul 2026 19:32:00 +0400 Subject: add flasher-qt --- README.md | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 README.md (limited to 'README.md') diff --git a/README.md b/README.md new file mode 100644 index 0000000..c2fd06d --- /dev/null +++ b/README.md @@ -0,0 +1,44 @@ +# ALT Image Writer GUI prototypes + +This workspace contains two independent interfaces for `alt-rootfs-installer`: + +- `crates/flasher-gtk` — GTK 4/libadwaita +- `crates/flasher-qt` — Qt 5/Qt Quick Controls 2 + +Both are interface previews. They inspect supported boards and removable drives, but do not write to any device. + +## System dependencies + +On ALT Linux: + +```sh +sudo apt-get install gcc-c++ libgtk4-devel libadwaita-devel \ + qt5-base-devel qt5-declarative-devel qt5-quickcontrols2-devel \ + qt5-quickcontrols2 +``` + +The Qt bindings discover Qt through `qmake`. If several Qt versions are installed, select Qt 5 explicitly: + +```sh +export QMAKE=/usr/lib64/qt5/bin/qmake +``` + +(The exact `qmake` path can be found with `rpm -ql qt5-base-devel | grep '/qmake$'`.) + +## Build + +Build both applications: + +```sh +cargo build +``` + +Build or run one interface: + +```sh +cargo build -p flasher-gtk +cargo build -p flasher-qt + +cargo run -p flasher-gtk +cargo run -p flasher-qt +``` -- cgit v1.2.3