Python bindings for the Qt cross-platform application and UI framework
Project description
PySide6
Introduction
Important: for Qt5 compatibility, check PySide2
PySide6 is the official Python module from the Qt for Python project, which provides access to the complete Qt 6.0+ framework.
The Qt for Python project is developed in the open, with all facilities you'd expect from any modern OSS project such as all code in a git repository and an open design process. We welcome any contribution conforming to the Qt Contribution Agreement.
Installation
Since the release of the Technical Preview
it is possible to install via pip
, both from Qt's servers
and PyPi:
pip install PySide6
Please note: this wheel is an alias to other two wheels PySide6_Essentials and PySide6_Addons, which contains a predefined list of Qt Modules.
Dependencies
PySide6 versions following 6.0 use a C++ parser based on Clang. The Clang library (C-bindings), version 13.0 or higher is required for building. Prebuilt versions of it can be downloaded from download.qt.io.
After unpacking the archive, set the environment variable LLVM_INSTALL_DIR to point to the folder containing the include and lib directories of Clang:
7z x .../libclang-release_100-linux-Rhel7.2-gcc5.3-x86_64-clazy.7z
export LLVM_INSTALL_DIR=$PWD/libclang
On Windows:
7z x .../libclang-release_100-windows-vs2015_64-clazy.7z
SET LLVM_INSTALL_DIR=%CD%\libclang
Building from source
For building PySide6 from scratch, please read about getting started. This process will include getting the code:
git clone https://code.qt.io/pyside/pyside-setup
cd pyside-setup
git checkout 6.x # if a specific version is needed
then install the dependencies, and following the instructions per platform. A common build command will look like:
python setup.py install --qtpaths=/path/to/bin/qtpaths6 --parallel=8 --build-tests
You can obtain more information about the options to build PySide and Shiboken in our wiki.
Documentation and Bugs
You can find more information about the PySide6 module API in the official Qt for Python documentation.
If you come across any issue, please file a bug report at our JIRA tracker following our guidelines.
Community
Check our channels on IRC (Libera), Telegram, Gitter, Matrix, and mailing list, and join our community!
Licensing
PySide6 is available under both Open Source (LGPLv3/GPLv3) and commercial license. Using PyPi is the recommended installation source, because the content of the wheels is valid for both cases. For more information, refer to the Qt Licensing page.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
File details
Details for the file PySide6-6.8.0.2-cp39-abi3-win_amd64.whl
.
File metadata
- Download URL: PySide6-6.8.0.2-cp39-abi3-win_amd64.whl
- Upload date:
- Size: 560.1 kB
- Tags: CPython 3.9+, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e8fffca9a934e30c07c3f34bb572f84bfcf02385acbc715e65fbdd9746ecc2b |
|
MD5 | 33c3395d82356e84468f05a810c31665 |
|
BLAKE2b-256 | e29433bad8ce9c6431325fa4b30e023fcc5ea04a77520f3c08ac184f74c3e218 |
File details
Details for the file PySide6-6.8.0.2-cp39-abi3-manylinux_2_31_aarch64.whl
.
File metadata
- Download URL: PySide6-6.8.0.2-cp39-abi3-manylinux_2_31_aarch64.whl
- Upload date:
- Size: 554.3 kB
- Tags: CPython 3.9+, manylinux: glibc 2.31+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a25cf784f978fa2a23b4d089970b27ebe14d26adcaf38b2819cb04483de4ce9 |
|
MD5 | d99c11a7a60aa238f8c2e6e36d37a294 |
|
BLAKE2b-256 | 991dd96496aae8de2b14d372a1e46d06c7f355291c1f3cdd7f90ef48c7d88373 |
File details
Details for the file PySide6-6.8.0.2-cp39-abi3-manylinux_2_28_x86_64.whl
.
File metadata
- Download URL: PySide6-6.8.0.2-cp39-abi3-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 554.2 kB
- Tags: CPython 3.9+, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3258f3c63dc5053b8d5b8d2588caca8bb3a36e2f74413511e4676df0e73b6f1e |
|
MD5 | 276a999e1ecf996b02c769c4e68aa5d2 |
|
BLAKE2b-256 | befb508b0dd3f88e6bce7be4a9650801434319d563d9f04c439564f09cdb1238 |
File details
Details for the file PySide6-6.8.0.2-cp39-abi3-macosx_12_0_universal2.whl
.
File metadata
- Download URL: PySide6-6.8.0.2-cp39-abi3-macosx_12_0_universal2.whl
- Upload date:
- Size: 554.1 kB
- Tags: CPython 3.9+, macOS 12.0+ universal2 (ARM64, x86-64)
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cecc6ce1da6cb04542ff5a0887734f63e6ecf54258d1786285b9c7904abd9b01 |
|
MD5 | 77fac5de3871383594156406452c39b3 |
|
BLAKE2b-256 | 048c2529634d9c6284db1fe7ea12688d5a43ce7abaaba5f5b45c23b2634b1fde |