Skip to main content

pyqt5-tools

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.

Metadata

Release files for pyqt5-tools 5.13.0.1.5

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.13.0.1.5
File Actions
pyqt5_tools-5.13.0.1.5-cp37-none-win_amd64.whl CPython 3.7 none Windows x86-64 Details for pyqt5_tools-5.13.0.1.5-cp37-none-win_amd64.whl
pyqt5_tools-5.13.0.1.5-cp37-none-win32.whl CPython 3.7 none Windows x86-32 Details for pyqt5_tools-5.13.0.1.5-cp37-none-win32.whl
pyqt5_tools-5.13.0.1.5-cp36-none-win_amd64.whl CPython 3.6 none Windows x86-64 Details for pyqt5_tools-5.13.0.1.5-cp36-none-win_amd64.whl
pyqt5_tools-5.13.0.1.5-cp36-none-win32.whl CPython 3.6 none Windows x86-32 Details for pyqt5_tools-5.13.0.1.5-cp36-none-win32.whl
pyqt5_tools-5.13.0.1.5-cp35-none-win_amd64.whl CPython 3.5 none Windows x86-64 Details for pyqt5_tools-5.13.0.1.5-cp35-none-win_amd64.whl
pyqt5_tools-5.13.0.1.5-cp35-none-win32.whl CPython 3.5 none Windows x86-32 Details for pyqt5_tools-5.13.0.1.5-cp35-none-win32.whl

Total release size: 370.5 MB

Release files / pyqt5_tools-5.13.0.1.5-cp37-none-win_amd64.whl

Download URL pyqt5_tools-5.13.0.1.5-cp37-none-win_amd64.whl
Size 67.2 MB
Tags CPython 3.7 Windows x86-64
SHA-256 checksum
How to use checksums
7c4fecb3f712985b4b07c3bc02a05017f55e70aa0e24d128648633bb1d731bd7
BLAKE2b-256 checksum
How to use checksums
208ec5ee7dcf8168327bb6d2e3f830edadc91485f23049afaa709a3e019d47ef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.5.0.1 requests/2.13.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.7.4

Release files / pyqt5_tools-5.13.0.1.5-cp37-none-win32.whl

Download URL pyqt5_tools-5.13.0.1.5-cp37-none-win32.whl
Size 56.9 MB
Tags CPython 3.7 Windows x86-32
SHA-256 checksum
How to use checksums
e473a1c0cd093f82514e1ff1c505e616033db147e0db40504cebee241515fe10
BLAKE2b-256 checksum
How to use checksums
983ee40b14511243dd1c142989d861517d5b675333a32e04c5be9f394e7265fb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.5.0.1 requests/2.13.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.7.4

Release files / pyqt5_tools-5.13.0.1.5-cp36-none-win_amd64.whl

Download URL pyqt5_tools-5.13.0.1.5-cp36-none-win_amd64.whl
Size 66.3 MB
Tags CPython 3.6 Windows x86-64
SHA-256 checksum
How to use checksums
8e777a58423912d29c1de7c1174729449395ee4b9b322a54257d49a43acd6c98
BLAKE2b-256 checksum
How to use checksums
15ff46d8d9fd3bf64bfa1e4cdc8a88b547d0e947c952b831a058ca961b1f2543
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.5.0.1 requests/2.13.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.6.8

Release files / pyqt5_tools-5.13.0.1.5-cp36-none-win32.whl

Download URL pyqt5_tools-5.13.0.1.5-cp36-none-win32.whl
Size 56.9 MB
Tags CPython 3.6 Windows x86-32
SHA-256 checksum
How to use checksums
a4c08dccb74bc7bbb4e2edd623969fe1f5d3927ac961660332f09de903cd1fea
BLAKE2b-256 checksum
How to use checksums
b51ca432b172fdcdd3d4bf6788d96ae92ebc76f2467500987b662eb242e6bdf4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.5.0.1 requests/2.13.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.6.8

Release files / pyqt5_tools-5.13.0.1.5-cp35-none-win_amd64.whl

Download URL pyqt5_tools-5.13.0.1.5-cp35-none-win_amd64.whl
Size 66.3 MB
Tags CPython 3.5 Windows x86-64
SHA-256 checksum
How to use checksums
841f77f1b5d79e5fdc7dc0b92dfe5222db84b7db5c2e5e9bd52ed9ef5d47d619
BLAKE2b-256 checksum
How to use checksums
6145b93df00945750514e7bade01610cecbfc83ec4fe84d2ae7c324f9a782d16
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.5.0.1 requests/2.13.0 setuptools/28.8.0 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.5.4

Release files / pyqt5_tools-5.13.0.1.5-cp35-none-win32.whl

Download URL pyqt5_tools-5.13.0.1.5-cp35-none-win32.whl
Size 56.9 MB
Tags CPython 3.5 Windows x86-32
SHA-256 checksum
How to use checksums
2cfbb93c447c805b12f1d26a7e692557ceb0751f9a46906dea7bf4ba8c6cadfd
BLAKE2b-256 checksum
How to use checksums
f92621045f7cbc146832f8871c52b565ca5062f0097ba00861ed0ef931729711
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.5.0.1 requests/2.13.0 setuptools/28.8.0 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.5.4

Security for pyqt5-tools 5.13.0.1.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

5.13.0.1.5 This release

6 release files No provenance

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