Skip to main content

PySide2

Introduction

PySide2 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 PySide2

Dependencies

PySide2 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_60-linux-Rhel7.2-gcc5.3-x86_64-clazy.7z
export LLVM_INSTALL_DIR=$PWD/libclang

On Windows:

7z x .../libclang-release_60-windows-vs2015_64-clazy.7z
SET LLVM_INSTALL_DIR=%CD%\libclang

Building from source

For building PySide2 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.12 origin/5.12
git checkout 5.12

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 PySide2 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

PySide2 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.

Metadata

Release files for PySide2 5.15.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for PySide2 5.15.2.1
File
PySide2-5.15.2.1-5.15.2-cp35.cp36.cp37.cp38.cp39.cp310-none-win_amd64.whl CPython 3.9, CPython 3.8, CPython 3.7, CPython 3.5, CPython 3.10, CPython 3.6 none Windows x86-64 Details
PySide2-5.15.2.1-5.15.2-cp35.cp36.cp37.cp38.cp39.cp310-none-win32.whl CPython 3.8, CPython 3.10, CPython 3.5, CPython 3.7, CPython 3.6, CPython 3.9 none Windows x86-32 Details
PySide2-5.15.2.1-5.15.2-cp35.cp36.cp37.cp38.cp39.cp310-abi3-manylinux1_x86_64.whl CPython 3.10, CPython 3.6, CPython 3.9, CPython 3.7, CPython 3.5, CPython 3.8 abi3 Linux glibc 2.5+ x86-64 Details
PySide2-5.15.2.1-5.15.2-cp35.cp36.cp37.cp38.cp39.cp310-abi3-macosx_10_13_intel.whl CPython 3.8, CPython 3.10, CPython 3.6, CPython 3.5, CPython 3.9, CPython 3.7 abi3 macOS 10.13+ Intel (x86-64, i386) Details
PySide2-5.15.2.1-5.15.2-cp27-cp27mu-manylinux1_x86_64.whl CPython 2.7 CPython 2.7 pymalloc wide-unicode Linux glibc 2.5+ x86-64 Details
PySide2-5.15.2.1-5.15.2-cp27-cp27m-macosx_10_13_intel.whl CPython 2.7 CPython 2.7 pymalloc macOS 10.13+ Intel (x86-64, i386) Details

Total release size: 878.9 MB

Release files / PySide2-5.15.2.1-5.15.2-cp35.cp36.cp37.cp38.cp39.cp310-none-win_amd64.whl

Download URL PySide2-5.15.2.1-5.15.2-cp35.cp36.cp37.cp38.cp39.cp310-none-win_amd64.whl
Size 137.4 MB
Tags CPython 3.10 CPython 3.5 CPython 3.6 CPython 3.7 CPython 3.8 CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
af6b263fe63ba6dea7eaebae80aa7b291491fe66f4f0057c0aafe780cc83da9d
BLAKE2b-256 checksum
How to use checksums
ed5ed0d540385dcc5eeda877a4288a9a4970e0e7b2282e840c2b08ce5442542e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.8

Release files / PySide2-5.15.2.1-5.15.2-cp35.cp36.cp37.cp38.cp39.cp310-none-win32.whl

Download URL PySide2-5.15.2.1-5.15.2-cp35.cp36.cp37.cp38.cp39.cp310-none-win32.whl
Size 116.9 MB
Tags CPython 3.10 CPython 3.5 CPython 3.6 CPython 3.7 CPython 3.8 CPython 3.9 Windows x86-32
SHA-256 checksum
How to use checksums
439509e53cfe05abbf9a99422a2cbad086408b0f9bf5e6f642ff1b13b1f8b055
BLAKE2b-256 checksum
How to use checksums
c9aea8c2b9d7b19a787a9f96ddead3f38e4e7b041ec7ae901953dfa7a2fe2fff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.8

Release files / PySide2-5.15.2.1-5.15.2-cp35.cp36.cp37.cp38.cp39.cp310-abi3-manylinux1_x86_64.whl

Download URL PySide2-5.15.2.1-5.15.2-cp35.cp36.cp37.cp38.cp39.cp310-abi3-manylinux1_x86_64.whl
Size 164.3 MB
Tags CPython 3.10 CPython 3.5 CPython 3.6 CPython 3.7 CPython 3.8 CPython 3.9 Linux glibc 2.5+ x86-64 abi3
SHA-256 checksum
How to use checksums
23886c6391ebd916e835fa1b5ae66938048504fd3a2934ae3189a96cd5ac0b46
BLAKE2b-256 checksum
How to use checksums
c29a78ca8bada6cf4d2798e0c823c025c590517d74445837f4eb50bfddce8737
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.8

Release files / PySide2-5.15.2.1-5.15.2-cp35.cp36.cp37.cp38.cp39.cp310-abi3-macosx_10_13_intel.whl

Download URL PySide2-5.15.2.1-5.15.2-cp35.cp36.cp37.cp38.cp39.cp310-abi3-macosx_10_13_intel.whl
Size 148.5 MB
Tags CPython 3.10 CPython 3.5 CPython 3.6 CPython 3.7 CPython 3.8 CPython 3.9 abi3 macOS 10.13+ Intel (x86-64, i386)
SHA-256 checksum
How to use checksums
a9e2e6bbcb5d2ebb421e46e72244a0f4fe0943b2288115f80a863aacc1de1f06
BLAKE2b-256 checksum
How to use checksums
1b1f194ed3a9c79abe4d8e8800112d5c19d0b9d7a1aca8b10029043bb3a083d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.8

Release files / PySide2-5.15.2.1-5.15.2-cp27-cp27mu-manylinux1_x86_64.whl

Download URL PySide2-5.15.2.1-5.15.2-cp27-cp27mu-manylinux1_x86_64.whl
Size 163.7 MB
Tags CPython 2.7 CPython 2.7 pymalloc wide-unicode Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
235240b6ec8206d9fdf0232472c6ef3241783d480425e5b54796f06e39ed23da
BLAKE2b-256 checksum
How to use checksums
da188a59ed71344db7330ce321d3c415a87ef6e44c7eb1d24df679e728afc3a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.8

Release files / PySide2-5.15.2.1-5.15.2-cp27-cp27m-macosx_10_13_intel.whl

Download URL PySide2-5.15.2.1-5.15.2-cp27-cp27m-macosx_10_13_intel.whl
Size 148.1 MB
Tags CPython 2.7 CPython 2.7 pymalloc macOS 10.13+ Intel (x86-64, i386)
SHA-256 checksum
How to use checksums
b5e1d92f26b0bbaefff67727ccbb2e1b577f2c0164b349b3d6e80febb4c5bde2
BLAKE2b-256 checksum
How to use checksums
b9b038ba6691d4ee56d25f4c261e3d1e775b8760e30d4f5e0b62574d110299af
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.8
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page