Metadata-Version: 2.4
Name: FluentQt
Version: 1.12.3
Summary: Native PySide6 bindings for the Fluent-Qt C++ Qt Widgets library
Author: calvinhxx
License-Expression: MIT
Keywords: Qt,PySide6,Fluent Design,WinUI,widgets
Requires-Python: >=3.11,<3.14
Requires-Dist: PySide6-Essentials (==6.9.3)
Requires-Dist: shiboken6 (==6.9.3)
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
Project-URL: Homepage, https://calvinhxx.github.io/Fluent-Qt/
Project-URL: Documentation, https://github.com/calvinhxx/Fluent-Qt#readme
Project-URL: Repository, https://github.com/calvinhxx/Fluent-Qt
Project-URL: Issues, https://github.com/calvinhxx/Fluent-Qt/issues
Project-URL: Changelog, https://github.com/calvinhxx/Fluent-Qt/releases
Project-URL: Gallery, https://pypi.org/project/FluentQt-Gallery/
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: MacOS
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: C++
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Software Development :: User Interfaces
Classifier: Typing :: Typed
License-File: LICENSE
License-File: THIRD_PARTY_NOTICES.md
License-File: TRADEMARKS.md

# Install FluentQt from PyPI

> **Status:** Current package guide

<!-- docs-nav:top:start -->
[Documentation](../../docs/README.md) › [Python bindings](README.md) › Get started and examples

[Contents](../../docs/SUMMARY.md) · [Python bindings index](README.md) · [FluentQt PySide6 Hello World →](examples/hello_world/README.md)
<!-- docs-nav:top:end -->

[FluentQt](https://github.com/calvinhxx/Fluent-Qt) is an MIT-licensed Qt Widgets
library for PySide6. Shiboken6 exposes its C++17 implementation to Python.
The Gallery presents 99 entries covering inputs, navigation, charts, dialogs
and components from the optional Particles, Spatial and QmlBridge modules.

## Install

```bash
python -m pip install FluentQt
```

Published wheels install the matching `PySide6-Essentials` and `shiboken6`
runtime automatically. Install the standalone example application with:

```bash
python -m pip install FluentQt-Gallery
python -m fluentqt_gallery
```

## Minimal example

```python
import sys

import fluentqt
from PySide6.QtCore import Qt
from PySide6.QtWidgets import QApplication, QVBoxLayout, QWidget
from fluentqt.basicinput import Button
from fluentqt.windowing import Window


fluentqt.prepare_high_dpi_application()
app = QApplication(sys.argv)
fluentqt.initialize_resources()
app.setFont(fluentqt.font_for_role(fluentqt.FontRole.Body))

window = Window()
window.setWindowTitle("FluentQt Hello World")
window.resize(480, 320)

content = QWidget()
layout = QVBoxLayout(content)
button = Button("Hello from FluentQt", content)
button.setFluentStyle(Button.ButtonStyle.Accent)
layout.addWidget(button, 0, Qt.AlignCenter)

window.setContentWidget(content)
window.show()
sys.exit(app.exec())
```

## Explore and design visually

- **WebAssembly Gallery**: Try all controls, themes, and 3D views in your
  browser at [calvinhxx.github.io/Fluent-Qt/gallery/](https://calvinhxx.github.io/Fluent-Qt/gallery/).
- **Property preview**: Adjust live Qt properties and copy generated PySide6
  code in the [interactive playground](https://calvinhxx.github.io/Fluent-Qt/api/checkbox/?playground=1).
- **Page Studio**: Arrange controls visually in the browser and export PySide6
  or `.ui` layouts from [Page Studio](https://calvinhxx.github.io/Fluent-Qt/studio/?lang=en).
- **Qt Designer**: Drag widgets from the Widget Box or select a template in
  New Form. Share the resulting `.ui` file with Qt Creator. See the
  [Qt Designer guide](https://github.com/calvinhxx/Fluent-Qt/blob/main/tools/designer/README.md).

## Package contents

- Native controls with Light, Dark and High Contrast themes.
- Qt properties, signals, enums, Python subclassing, and typed package stubs.
- Explicit ownership contracts for hosted widgets, overlays, models, and
  native windows.
- A single `_fluentqt` `abi3` extension so themes, resources, and Qt object
  identity stay process-wide.

The example application is distributed separately as
[`FluentQt-Gallery`](https://pypi.org/project/FluentQt-Gallery/), keeping demo
code and assets out of the reusable UI library wheel.

## Compatibility

Each supported platform and architecture has a CPython stable-ABI (`abi3`)
wheel for the matched Qt, PySide6, and Shiboken6 6.9.3 runtimes. The wheels
support CPython 3.11–3.13. On Linux ARM64 they require CPython 3.12–3.13 and glibc 2.39 or newer.

| Platform | Architectures |
| --- | --- |
| Windows | x64, ARM64 |
| macOS 12+ | x64, ARM64 |
| Linux | x64, ARM64 |

The source binding keeps Qt/PySide/Shiboken 6.2.4 as its minimum compatibility
baseline. All Qt for Python components and the C++ Qt SDK must use the same
version and architecture.

## Project links

- [Documentation](https://github.com/calvinhxx/Fluent-Qt#readme)
- [Source](https://github.com/calvinhxx/Fluent-Qt)
- [Issue tracker](https://github.com/calvinhxx/Fluent-Qt/issues)
- [Release notes](https://github.com/calvinhxx/Fluent-Qt/releases)
- [Project website](https://calvinhxx.github.io/Fluent-Qt/)

FluentQt is released under the MIT License. Microsoft product names and Fluent
design references are used only to describe compatibility and visual style.

<!-- docs-nav:bottom:start -->
---
[Contents](../../docs/SUMMARY.md) · [Python bindings index](README.md) · [FluentQt PySide6 Hello World →](examples/hello_world/README.md)
<!-- docs-nav:bottom:end -->
