Skip to main content

PyPI version supported Python versions AppVeyor build status source on GitHub

The PyQt5 wheels do not provide tools such as Qt Designer that were included in the old binary installers. This package aims to provide those in a separate package which is useful for developers while the official PyQt5 wheels stay focused on fulfilling the dependencies of PyQt5 applications.

Installation

yourenv\Scripts\pip.exe install --pre pyqt5-tools~=5.11

You will generally install pyqt5-tools using pip install. In most cases you should be using virtualenv or venv to create isolated environments to install your dependencies in. The above command assumes an env in the directory yourenv. The --pre allows for the latest version to be installed despite not being a full release version. You will have to decide if this is a good option for you at any given point in time. The ~=5.11 specifies a release compatible with 5.11 which will be the latest version of pyqt5-tools built for PyQt5 5.11. If you are using a different PyQt5 version, specify it instead of 5.11. PyPI keeps a list of all available versions.

Usage

For each tool a script is created such that you get files like Scripts\designer.exe to launch the programs. Each one searches up the filesystem tree from your current working directory to find a .env file and loads it if found. If found the environment variable DOT_ENV_DIRECTORY will be set to the directory containing the .env file. With this extra variable you can specify paths relative to the .env location.

PYQTDESIGNERPATH=${PYQTDESIGNERPATH};${DOT_ENV_DIRECTORY}/path/to/my/widgets

Additionally, each pyqt5* wrapper listed below includes a parameter to run a basic example which can be used to see if the plugins are working. These examples are not intended to be used as examples of good code.

Designer

There is a Scripts\pyqt5designer.exe entry point that will help fill out PYQTDESIGNERPATH from either command line arguments or a .env file. Unknown arguments are passed through to the original Qt Designer program.

Usage: pyqt5designer [OPTIONS]

Options:
  -p, --widget-path DIRECTORY     Paths to be combined with PYQTDESIGNERPATH
  --example-widget-path           Include the path for the pyqt5-tools example
                                  button (c:\users\sda\testenv\lib\site-
                                  packages\pyqt5_tools)
  --designer-help                 Pass through to get Designer's --help
  --test-exception-dialog         Raise an exception to check the exception
                                  dialog functionality.
  --qt-debug-plugins / --no-qt-debug-plugins
                                  Set QT_DEBUG_PLUGINS=1
  --help                          Show this message and exit.

If you want to use Form > View Code... from within Designer you can run Scripts\pyqt5toolsinstalluic.exe and it will copy pyuic5.exe such that Designer will use it and show you generated Python code. pyqt5 must already be installed or this script will be unable to find the original pyuic5.exe to copy.

In addition to the standard features of the official Designer plugin, this provides an exception dialog for your widget’s Python code. Otherwise Designer in Windows silently crashes on Python exceptions.

QML Plugin

The QML plugin is also included. In the future a tool may be provided to handle copying of the plugin to each directory where it is needed. For now this must be done manually.

site-packages\pyqt5_tools\Qt\bin\plugins\pyqt5qmlplugin.dll

QML Scene

Usage: pyqt5qmlscene [OPTIONS]

Options:
  -p, --qml2-import-path DIRECTORY
                                  Paths to be combined with QML2_IMPORT_PATH
  --qmlscene-help                 Pass through to get QML scene's --help
  --qt-debug-plugins / --no-qt-debug-plugins
                                  Set QT_DEBUG_PLUGINS=1
  --run-qml-example               Run the pyqt5-tools QML example
  --help                          Show this message and exit.

QML Test Runner

Usage: pyqt5qmltestrunner [OPTIONS]

Options:
  -p, --qml2-import-path DIRECTORY
                                  Paths to be combined with QML2_IMPORT_PATH
  --qmltestrunner-help            Pass through to get QML test runner's --help
  --qt-debug-plugins / --no-qt-debug-plugins
                                  Set QT_DEBUG_PLUGINS=1
  --test-qml-example              Test the pyqt5-tools QML example
  --help                          Show this message and exit.

Special Thanks

MacStadium

Thanks to MacStadium for providing me with a macOS system to develop and test out the final pyqt5-tools platform.

Metadata

Release files for pyqt5-tools 5.14.2.1.7

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 pyqt5-tools 5.14.2.1.7
File
pyqt5_tools-5.14.2.1.7-cp38-cp38-win_amd64.whl CPython 3.8 CPython 3.8 Windows x86-64 Details
pyqt5_tools-5.14.2.1.7-cp38-cp38-manylinux2014_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.17+ x86-64 Details
pyqt5_tools-5.14.2.1.7-cp37-cp37m-win_amd64.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-64 Details
pyqt5_tools-5.14.2.1.7-cp37-cp37m-manylinux2014_x86_64.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.17+ x86-64 Details
pyqt5_tools-5.14.2.1.7-cp36-cp36m-win_amd64.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-64 Details
pyqt5_tools-5.14.2.1.7-cp36-cp36m-manylinux2014_x86_64.whl CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.17+ x86-64 Details
pyqt5_tools-5.14.2.1.7-cp35-cp35m-win_amd64.whl CPython 3.5 CPython 3.5 pymalloc Windows x86-64 Details
pyqt5_tools-5.14.2.1.7-cp35-cp35m-manylinux2014_x86_64.whl CPython 3.5 CPython 3.5 pymalloc Linux glibc 2.17+ x86-64 Details

Total release size: 545.4 MB

Release files / pyqt5_tools-5.14.2.1.7-cp38-cp38-win_amd64.whl

Download URL pyqt5_tools-5.14.2.1.7-cp38-cp38-win_amd64.whl
Size 57.3 MB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
4b38d33566bd2e2a299d664ff2b9f05d8be8d57cecf509b608c0e101b32d42b0
BLAKE2b-256 checksum
How to use checksums
3b23292cdc0f6a8b1a38e9da59f4c3287c6ddbc59f03226595e269f71c8c321c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

Release files / pyqt5_tools-5.14.2.1.7-cp38-cp38-manylinux2014_x86_64.whl

Download URL pyqt5_tools-5.14.2.1.7-cp38-cp38-manylinux2014_x86_64.whl
Size 79.0 MB
Tags CPython 3.8 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
f28298abd267b8eaafc7eb934349694b907347b50e001c05569545b33d93c976
BLAKE2b-256 checksum
How to use checksums
087fc65a72acfeb6dd7774bf9f83347fa282fe160faf106022c62bd9220996fe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

Release files / pyqt5_tools-5.14.2.1.7-cp37-cp37m-win_amd64.whl

Download URL pyqt5_tools-5.14.2.1.7-cp37-cp37m-win_amd64.whl
Size 57.3 MB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
1364223cb6886d9e5f2ad56439f810c5e758b802dd66cdf8b9dc4bd5a3014a92
BLAKE2b-256 checksum
How to use checksums
f5af6e753b503d2648043b71845d1a85db1bacaa951d50b7618201484a745581
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

Release files / pyqt5_tools-5.14.2.1.7-cp37-cp37m-manylinux2014_x86_64.whl

Download URL pyqt5_tools-5.14.2.1.7-cp37-cp37m-manylinux2014_x86_64.whl
Size 79.0 MB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
08950e692ed3ae18a7bb10be5a1bdfcf63b5e1fd22202d30c83ecf044ddb0a33
BLAKE2b-256 checksum
How to use checksums
578b68222efe580e90748271256daee8176395dd83621a3021745af8b8270ae0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

Release files / pyqt5_tools-5.14.2.1.7-cp36-cp36m-win_amd64.whl

Download URL pyqt5_tools-5.14.2.1.7-cp36-cp36m-win_amd64.whl
Size 57.3 MB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
3ac666d4a460e20a29b0968e30b072479e774aa292b15c8c6b74c842ff946a44
BLAKE2b-256 checksum
How to use checksums
b9efd74a803975b72dc404637c3579c2e8811b859174897a4707063c4c8bed1a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

Release files / pyqt5_tools-5.14.2.1.7-cp36-cp36m-manylinux2014_x86_64.whl

Download URL pyqt5_tools-5.14.2.1.7-cp36-cp36m-manylinux2014_x86_64.whl
Size 79.0 MB
Tags CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
618e2839eb7703e0a770f03e84d9408c1810b6735dcd4a9b957b0e66f05d8d4d
BLAKE2b-256 checksum
How to use checksums
90254afc50f1f7a55dd1d896462dc385de5ad4e56933b183ef492817614ecd83
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

Release files / pyqt5_tools-5.14.2.1.7-cp35-cp35m-win_amd64.whl

Download URL pyqt5_tools-5.14.2.1.7-cp35-cp35m-win_amd64.whl
Size 57.3 MB
Tags CPython 3.5 CPython 3.5 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
8a94c0aab73f725a56114eeff9e36d99b67172c1013c2ce32bbfef5f209e3e83
BLAKE2b-256 checksum
How to use checksums
d58e7cf08106d5662ddc9c2caa0eb5e2c0ff5210d107afe8d8ed051ad4338428
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

Release files / pyqt5_tools-5.14.2.1.7-cp35-cp35m-manylinux2014_x86_64.whl

Download URL pyqt5_tools-5.14.2.1.7-cp35-cp35m-manylinux2014_x86_64.whl
Size 79.0 MB
Tags CPython 3.5 CPython 3.5 pymalloc Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
ce4e3e236c1f5383a9c86231c0186b7db41e32e22f6768d9846bf5d66c87a0a3
BLAKE2b-256 checksum
How to use checksums
9ab7cbc905d9985c4b57774bc085a3c7de266cd866a43a2d355999f204a046cf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

Release history Release notifications | RSS feed

This release

5.14.2.1.7 This release

8 release files

5.9.1.1

5.7.dev8

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