slint/examples/uefi-demo
2024-03-27 07:49:22 +00:00
..
build.rs Domain: slint-ui.com -> slint.dev 2023-06-16 10:55:08 +02:00
Cargo.toml Bump version number to 1.6.0 2024-03-27 07:49:22 +00:00
demo.slint cleanup examples according to upcoming code guidelines (#3809) 2023-11-02 11:04:40 +01:00
main.rs Domain: slint-ui.com -> slint.dev 2023-06-16 10:55:08 +02:00
README.md xtask: Fix up license headers 2023-08-17 08:55:28 +02:00

Slint UEFI demo

This example demonstrates Slint in a UEFI environment.

Screenshot

To build this example a suitable UEFI rust target must be installed first:

rustup target install x86_64-unknown-uefi

To build, simply pass the --package and --target arguments to cargo:

cargo build --package uefi-demo --target x86_64-unknown-uefi

The produced UEFI binary can then either be tested on real hardware by booting it like any other bootloader or directly with QEMU (the firmware location varies by distro):

qemu-system-x86_64 -bios /usr/share/edk2-ovmf/x64/OVMF.fd -kernel target/x86_64-unknown-uefi/debug/uefi-demo.efi