PyQt6 install and start Qt designer

created at May 9, 2021, 8 a.m. views: 0

By default, PyQt5 or -6 won't install Qt Designer for us, we need to install another package called pyqt5-tool. Although from name we may know this package is developed for PyQt5, don't worry, PyQt6 can also use it.

Install pyqt5-tool

Switch to our terminal, and use pip to install pyqt5-tool:

(venv) E:\project\FluidIML> pip install pyqt5-tools

Run Qt Designer

Something to be noticed here first is: the previous version of pyqt5-tool put the designer.exe under a path like:

...\Python36\Lib\site-packages\pyqt5-tools\designer\designer.exe

answers with this path can still be seen on stackoverflow.

However, if you read the update information of pyqt5-tools on Pypi, it's structure has been changed.

Now you may find the designer.exe under directories like:

venv\Lib\site-packages\qt5_applications\Qt\bin\designer.exe

to start Qt designer, you can simply go to this path and double click the designer.exe executable file.

or:

also in our terminal:

(venv) E:\project\FluidIML> venv\Lib\site-packages\qt5_applications\Qt\bin\designer

Please log in to leave a comment.