A template for a C++ Application using Slint with material components.
This template helps you get started developing a C++ application with Slint as a toolkit for the user interface and the material component set.
We recommend using an IDE for development, along with our LSP-based IDE integration for .slint
files. You can also load this project directly in Visual Studio Code and install our Slint extension.
-
Install the pre-requisites
-
Download and extract the ZIP archive of this repository.
-
Rename the extracted directory and change into it:
mv material-cpp-template-master my-project cd my-project
-
Build with
cmake
:mkdir build && cd build cmake .. -G Ninja cmake --build .
-
Run the application binary:
./my_application
We hope that this template helps you get started, and that you enjoy exploring making user interfaces with Slint. To learn more
about the Slint APIs and the .slint
markup language, check out our online documentation. Check out
also the material components documentation
Don't forget to replace the contents of this readme with your own project details. (Containing a screenshot of your application if you want to.)