Skip to main content

Python bindings for the Qt cross-platform application and UI framework

Project description

PySide6

Introduction

PySide6 is the official Python module from the Qt for Python project, which provides access to the complete Qt 5.12+ 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

Dependencies

PySide6 versions following 5.12 use a C++ parser based on Clang. The Clang library (C-bindings), version 6.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 branch --track 5.14 origin/5.15
git checkout 5.15

then install the dependencies, and following the instructions per platform. A common build command will look like:

python setup.py install --qmake=path/to/qmake/ --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 #qt-pyside, our official IRC channel on FreeNode, or contact us via our mailing list.

Licensing

PySide6 is available under both Open Source (LGPLv3/GPLv2) 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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

PySide6-6.0.0a1.dev1606911628-6.0.0-cp36.cp37.cp38.cp39-abi3-manylinux1_x86_64.whl (170.5 MB view details)

Uploaded CPython 3.6+CPython 3.7+CPython 3.8+CPython 3.9+

File details

Details for the file PySide6-6.0.0a1.dev1606911628-6.0.0-cp36.cp37.cp38.cp39-abi3-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for PySide6-6.0.0a1.dev1606911628-6.0.0-cp36.cp37.cp38.cp39-abi3-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 2331c90e35d46e68b170f6a64579624cf001cfe13bd50d0df305a1ce779459f4
MD5 44acf507327b5219234e71e70dbb4ca2
BLAKE2b-256 a120d6e50c7d646cd3e183f286aa749efd0547adaa07353d23de861be1f2efff

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page