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.

Release files for PySide2 5.13.0

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.13.0
File
PySide2-5.13.0-5.13.0-cp35.cp36.cp37-none-win_amd64.whl CPython 3.7, CPython 3.6, CPython 3.5 none Windows x86-64 Details
PySide2-5.13.0-5.13.0-cp35.cp36.cp37-none-win32.whl CPython 3.5, CPython 3.6, CPython 3.7 none Windows x86-32 Details
PySide2-5.13.0-5.13.0-cp35.cp36.cp37-abi3-manylinux1_x86_64.whl CPython 3.5, CPython 3.6, CPython 3.7 abi3 Linux glibc 2.5+ x86-64 Details
PySide2-5.13.0-5.13.0-cp35.cp36.cp37-abi3-macosx_10_12_intel.whl CPython 3.7, CPython 3.6, CPython 3.5 abi3 macOS 10.12+ Intel (x86-64, i386) Details
PySide2-5.13.0-5.13.0-cp27-cp27mu-manylinux1_x86_64.whl CPython 2.7 CPython 2.7 pymalloc wide-unicode Linux glibc 2.5+ x86-64 Details
PySide2-5.13.0-5.13.0-cp27-cp27m-macosx_10_12_intel.whl CPython 2.7 CPython 2.7 pymalloc macOS 10.12+ Intel (x86-64, i386) Details

Total release size: 767.3 MB

Release files / PySide2-5.13.0-5.13.0-cp35.cp36.cp37-none-win_amd64.whl

Download URL PySide2-5.13.0-5.13.0-cp35.cp36.cp37-none-win_amd64.whl
Size 120.7 MB
Tags CPython 3.5 CPython 3.6 CPython 3.7 Windows x86-64
SHA-256 checksum
How to use checksums
d8291705f7c2de7fd3eeef0619996b8cd20156eb7be103c3cb5d33aedc80fce3
BLAKE2b-256 checksum
How to use checksums
339881483a88ce42b52c70a3f6dc6228f058eca66a03ceca799dc9f813845918
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.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.3

Release files / PySide2-5.13.0-5.13.0-cp35.cp36.cp37-none-win32.whl

Download URL PySide2-5.13.0-5.13.0-cp35.cp36.cp37-none-win32.whl
Size 101.8 MB
Tags CPython 3.5 CPython 3.6 CPython 3.7 Windows x86-32
SHA-256 checksum
How to use checksums
11a3646a16e5fdfd67b3f08d097bef7c93fc523da313453bd6839b8d4cce85d7
BLAKE2b-256 checksum
How to use checksums
3ee246b8c92ea03c9e85e874b1667a7749f9b2fafea9917deb91fccae68e5069
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.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.3

Release files / PySide2-5.13.0-5.13.0-cp35.cp36.cp37-abi3-manylinux1_x86_64.whl

Download URL PySide2-5.13.0-5.13.0-cp35.cp36.cp37-abi3-manylinux1_x86_64.whl
Size 152.9 MB
Tags CPython 3.5 CPython 3.6 CPython 3.7 Linux glibc 2.5+ x86-64 abi3
SHA-256 checksum
How to use checksums
da6933393808e28437ac93459f883f15299118c58f40260bcdecf8e2eceeaccd
BLAKE2b-256 checksum
How to use checksums
3da19300c616621ba1d1a3426d98b59cd5403045eafaa0263e68e7d4d48a49e4
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.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.3

Release files / PySide2-5.13.0-5.13.0-cp35.cp36.cp37-abi3-macosx_10_12_intel.whl

Download URL PySide2-5.13.0-5.13.0-cp35.cp36.cp37-abi3-macosx_10_12_intel.whl
Size 119.9 MB
Tags CPython 3.5 CPython 3.6 CPython 3.7 abi3 macOS 10.12+ Intel (x86-64, i386)
SHA-256 checksum
How to use checksums
206601a5c9a1de4e8a9a9e4937345197dca34cf075f327fefa6d3a39c3068ab0
BLAKE2b-256 checksum
How to use checksums
49d2cf3822831341101463178f76685c1e10fae3c3d7c8edf1ca8b2c0d2c5992
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.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.3

Release files / PySide2-5.13.0-5.13.0-cp27-cp27mu-manylinux1_x86_64.whl

Download URL PySide2-5.13.0-5.13.0-cp27-cp27mu-manylinux1_x86_64.whl
Size 152.3 MB
Tags CPython 2.7 CPython 2.7 pymalloc wide-unicode Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
14c237b0ee652d49a21fb6a4bcf09ae4f225c7bbaeface758883abd6fdff7d25
BLAKE2b-256 checksum
How to use checksums
c3f46cffee0c1275b763ca81f7abd5a82928d8f40022a414bb67ca08ca26dab9
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.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.3

Release files / PySide2-5.13.0-5.13.0-cp27-cp27m-macosx_10_12_intel.whl

Download URL PySide2-5.13.0-5.13.0-cp27-cp27m-macosx_10_12_intel.whl
Size 119.6 MB
Tags CPython 2.7 CPython 2.7 pymalloc macOS 10.12+ Intel (x86-64, i386)
SHA-256 checksum
How to use checksums
a2a69bad97bb35d9e5b7bb27c4a762dc9fe69e2bc7a81076498c47b7947666a6
BLAKE2b-256 checksum
How to use checksums
7afacf5bd0337e4fc947f942395330238b76193f9c1e18e6fe55a1276b97b5aa
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.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.3
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