Skip to content

A template for a C++ Application using Slint with material components. Based on the material gallery.

License

Notifications You must be signed in to change notification settings

slint-ui/material-cpp-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Material Components for Slint C++ Template

A template for a C++ Application using Slint with material components.

About

This template helps you get started developing a C++ application with Slint as a toolkit for the user interface and the material component set.

Usage

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.

  1. Install the pre-requisites

  2. Download and extract the ZIP archive of this repository.

  3. Rename the extracted directory and change into it:

    mv material-cpp-template-master my-project
    cd my-project
  4. Build with cmake:

    mkdir build && cd build
    cmake .. -G Ninja
    cmake --build .
  5. Run the application binary:

    ./my_application

Next Steps

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.)

About

A template for a C++ Application using Slint with material components. Based on the material gallery.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages