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
Hashes for PySide6-6.7.3-cp39-abi3-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ac8dcb4ca82d276e319f89dd99098b01061f255a2b9104216504aece5e0faf8 |
|
MD5 | 65b5626fdeee6e48b309d28f715259f8 |
|
BLAKE2b-256 | 69f018c6b7f5087eec0d673eb8703c3e9eb76d62cfc427b015d4fc833287c1c4 |
Hashes for PySide6-6.7.3-cp39-abi3-manylinux_2_31_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2a1313296c0088d1c3d231d0a8ccf0eda52b84139d0c4065fded76e4a4378f4 |
|
MD5 | e6e50845419582802e32894a5c986d89 |
|
BLAKE2b-256 | 8a56a5347e273de35bd63fd3204bd9d80a134db959ff6f2bbeb299867dbe83db |
Hashes for PySide6-6.7.3-cp39-abi3-manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a21480cc746358f70768975fcc452322f03b3c3622625bfb1743b40ce4e24beb |
|
MD5 | fd9872ba42229b66bbb2ec645eb8dd5a |
|
BLAKE2b-256 | 368aaf0c2c91bcd8a0003e4233a0c74dd6b0e5af5534e96185d48a2c03a8f359 |
Hashes for PySide6-6.7.3-cp39-abi3-macosx_11_0_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c21c4cf6cdd29bd13bbd7a2514756a19188eab992b92af03e64bf06a9b33d5b |
|
MD5 | 685f1871da11a7d64c62982c378e1211 |
|
BLAKE2b-256 | d43486b0fd9b5ce8eee35bd1311a620e8cdfd56d0ca36edca314a6189336682d |