- Notifications
You must be signed in to change notification settings - Fork0
slint-ui/material-cpp-template
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
A template for a C++ Application using Slint withmaterial components. Based on the material gallery.
This template helps you get started developing a C++ application with Slint as a toolkitfor the user interface and the material component set. It demonstrates the integration between the.slint
UI markup and C++ code, how to react to callbacks, get and set properties, and use of all availablematerial components for Slint.
The material components are currently available as a technical preview. Some components are still missing and changes to the apiare possible. We will inform as soon as the component set is read for release.
We recommend using an IDE for development, along with ourLSP-based IDE integration for.slint
files. You can also load this project directly inVisual Studio Code and install ourSlint extension.
Install thepre-requisites
Clone this repository
git clone --recurse-submodules https://github.com/slint-ui/material-cpp-template.git my-projectcd my-project
Build
mkdir build&&cd buildcmake .. -G Ninjacmake --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 moreabout the Slint APIs and the.slint
markup language, check out ouronline documentation. Check outalso thematerial components documentation
Don't forget to replace the contents of this readme with your own project details.
About
A template for a C++ Application using Slint with material components. Based on the material gallery.
Resources
Uh oh!
There was an error while loading.Please reload this page.