It's a Rust template project for Slint GUI. It cantains frequently-used components, setting panel, configure, simple database feature and other somall feature. This project can be compiled to Desktop (Windows, Linix, Macos), Android and Web platform.
Enter the script directory and run ./init-project.sh <new-project-name> to initialize a new project.
- Install
Rust,Cargo,cargo-apkandwasm-pack - Install Android
sdk,ndk,jdk17, and set environment variables. - Example:
export JAVA_HOME=$LIBRARY_PATH/openjdk
export ANDROID_HOME=$HOME/Android/Sdk
export ANDROID_NDK=$HOME/Android/Sdk/ndk/27.0.12077973
export ANDROID_NDK_ROOT=$HOME/Android/Sdk/ndk/27.0.12077973
- Run
make android-build-releaseto build a release version android APK - Run
make desktop-debugto run it on desktop platform - Run
make desktop-build-releaseto build a release version desktop application - Run
make web-build-distto build a release version website. And the output directory isweb/dist - Run
make web-server-distto run a website server - Refer to Makefile for more information
min-sdk-version = 23target-sdk-version = 32
- Using the
Qt backendcan resolve the issue of fuzzy fonts on the Windows platform. It is also recommended to prioritize theQt backendto maintain a consistent build environment with the developers.






