Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

NotificationsYou 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

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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.slintUI markup and C++ code, how to react to callbacks, get and set properties, and use of all availablematerial components for Slint.

Disclaimer

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.

Usage

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.

  1. Install thepre-requisites

  2. Clone this repository

    git clone --recurse-submodules https://github.com/slint-ui/material-cpp-template.git my-projectcd my-project

Run your application on desktop

  1. Build

    mkdir build&&cd buildcmake .. -G Ninjacmake --build.
  2. 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 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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp