Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mentalfl0w/ribbontemplate
This is an app template for users who want to use RibbonUI.
https://github.com/mentalfl0w/ribbontemplate
qml qt ribbonui
Last synced: 4 months ago
JSON representation
This is an app template for users who want to use RibbonUI.
- Host: GitHub
- URL: https://github.com/mentalfl0w/ribbontemplate
- Owner: mentalfl0w
- License: gpl-3.0
- Created: 2024-05-01T13:09:28.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-08-26T07:26:54.000Z (6 months ago)
- Last Synced: 2024-08-27T07:25:38.996Z (6 months ago)
- Topics: qml, qt, ribbonui
- Language: QML
- Homepage:
- Size: 2.31 MB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RibbonTemplate
## 1. About 关于
This is an app template for users who want to use `RibbonUI`.
这是一个为希望将`RibbonUI`应用于自己程序的开发者准备的项目模板。For more information about `RibbonUI`, please see [this](https://github.com/mentalfl0w/RibbonUI).
希望了解更多关于`RibbonUI`的信息,请访问[这个](https://github.com/mentalfl0w/RibbonUI)链接。## 2. How to use it? 如何使用它?
+ Before Install 安装前准备
To install Qt 6, it is recommended to install the **Qt 6.6.3** version via the official online installer, **installing via brew, etc. may cause problems**. **Qt Quick related modules** and the **qt5compat qtshadertools qtimageformats** component are required
安装Qt 6,推荐通过官方在线安装器安装**Qt 6.6.3版本**,**通过brew等方式安装可能会出现问题**。**Qt Quick相关模块**和**qt5compat qtshadertools qtimageformats**组件是必要的。+ Compile the example and library 编译例程和库
- Clone and enter the library folder 下载仓库并进入
```shell
git clone https://github.com/mentalfl0w/RibbonTemplate.git --recursive
cd RibbonUI
```
- Add your source files and edit the `CMakeLists.txt` 添加你自己的源文件并修改`CMakeLists.txt`
- Create and enter the build folder 创建并进入build文件夹
```shell
mkdir build
cd build
```
- Build 编译
```shell
# if you want to make a Debug build, just let -DCMAKE_BUILD_TYPE=Debug, --config Debug
# if you want a static build, add -DRIBBONUI_BUILD_STATIC_LIB=ON into command
cmake -DCMAKE_MESSAGE_LOG_LEVEL=STATUS -DCMAKE_PREFIX_PATH=/Users/runner/work/RibbonTemplate/Qt/6.6.3/macos -DCMAKE_BUILD_TYPE=Release -GNinja ..
# -DCMAKE_PREFIX_PATH={YOUR QT INSTALL FOLDER}
cmake --build . --target all --config Release --parallel
```