# Qt-Fluent-Widgets
**Repository Path**: brillywu/Qt-Fluent-Widgets
## Basic Information
- **Project Name**: Qt-Fluent-Widgets
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: GPL-3.0
- **Default Branch**: main
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2026-05-08
- **Last Updated**: 2026-05-08
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
Qt-Fluent-Widgets
A fluent design widgets library based on PyQt-Fluent-Widgets
[](https://github.com/Fairy-Oracle-Sanctuary/Qt-Fluent-Widgets)
[](LICENSE)
[]()
[](https://www.qt.io)
English | įŽäŊ䏿
## đ Introduction
Qt-Fluent-Widgets is a **C++ native port** of the popular [PyQt-Fluent-Widgets](https://github.com/zhiyiYo/PyQt-Fluent-Widgets) library by **zhiyiYo**. It provides a comprehensive set of modern Fluent Design UI widgets for Qt6 applications.
This library aims to bring the beautiful Fluent Design System to native C++ Qt applications, offering:
- đ¨ **Fluent Design aesthetics** - Acrylic, Mica, and modern styling
- đ§Š **Rich widget collection** - Buttons, menus, dialogs, navigation, and more
- ⥠**High performance** - Native C++ implementation
- đ§ **Easy integration** - Static library that links directly to your Qt project
## ⨠Features
| Category | Widgets |
|----------|---------|
| **Buttons** | PushButton, ToolButton, RadioButton, CheckBox, ToggleButton, SplitButton |
| **Input** | LineEdit, ComboBox, SpinBox, DoubleSpinBox, TextEdit |
| **Dialogs** | MessageBox, ColorDialog, Flyout, TeachingTip |
| **Navigation** | NavigationView, BreadcrumbBar, Pivot, SegmentedWidget, TabBar |
| **Status** | InfoBar, ProgressBar, ProgressRing, StateToolTip, ToolTip, InfoBadge |
| **Menus** | RoundMenu, CommandBar, CheckableMenu |
| **Material** | Acrylic, Mica effect (Windows 11) |
| **Layout** | FlowLayout with animation support |
## đ Requirements
- **Qt 5.15+ or Qt 6.5+**
- Windows: Qt 6.5+ recommended
- macOS: Qt 6.9.0 recommended
- Linux: Qt 6.5+ recommended
- Qt 5.15 LTS also supported
- **CMake 3.16+**
- **C++17 compiler**
- MSVC 2019+ (Windows)
- Clang (macOS, via Xcode or Command Line Tools)
## đ Quick Start
### 1. Clone the Repository
```bash
git clone https://github.com/Fairy-Oracle-Sanctuary/Qt-Fluent-Widgets.git
cd Qt-Fluent-Widgets
```
### 2. Build the Library
```bash
mkdir build && cd build
cmake ..
cmake --build . --config Release
```
### 3. Integrate into Your Project
Add to your `CMakeLists.txt`:
```cmake
add_subdirectory(Qt-Fluent-Widgets)
target_link_libraries(your_app PRIVATE
qtfluentwidgets
Qt6::Widgets
Qt6::Svg
)
```
### 4. Basic Usage
```cpp
#include
#include
int main(int argc, char *argv[]) {
// Initialize Qt resources from static library
Q_INIT_RESOURCE(resource);
QApplication app(argc, argv);
// Set theme (Light, Dark, or Auto)
qfw::setTheme(qfw::Theme::Light);
// Create a fluent window
qfw::FluentWindow window;
window.setWindowTitle("My Fluent App");
window.resize(800, 600);
window.show();
return app.exec();
}
```
## đ¯ Gallery Application
The repository includes a demo gallery application showcasing all widgets:
```bash
cd build
./app/qtfluentwidgets_app # Linux/macOS
qtfluentwidgets_app.exe # Windows
```
## đ Supported Platforms
| Platform | Status | Notes |
|----------|--------|-------|
| Windows | â
Full support | Acrylic/Mica effects, frameless window |
| macOS | â
Full support | Frameless window with native Cocoa integration |
| Linux | â
Full support | Frameless window with Qt6 system resize API |
## đ License
This project is licensed under **GPLv3** - see the [LICENSE](LICENSE) file for details.
## đ Acknowledgments
- **zhiyiYo** - Creator of the original [PyQt-Fluent-Widgets](https://github.com/zhiyiYo/PyQt-Fluent-Widgets) library
- **zhiyiYo** - [Official documentation & demos](https://qfluentwidgets.com/) (Python version)
- **COLORREF** - [QWidget-FancyUI](https://github.com/COLORREF/QWidget-FancyUI) for frameless window implementation reference on Windows
- Microsoft - Fluent Design System inspiration
- Qt Framework - The foundation for cross-platform UI development
> **Note**: This project is a C++ implementation referenced from the Python version of PyQt-Fluent-Widgets. The original author offers a commercial C++ version, but this project was independently developed by studying the open-source Python codebase. The Windows frameless window implementation references QWidget-FancyUI.
## đ¤ Contributing
Contributions are welcome! Please feel free to submit issues and pull requests.
## đ Contributors