I'm a Python newbie and trying to start my first application and am struggling to workout how to use Qt Designer with pyQT5.
I've been using the next command which installs pyqt5.7.1:
pip3 install pyqt5
After the install, I have a
C:\Python36\Lib\site-packages\PyQt5\Qt\bin\Qt5Designer.dll
file but no Qt Designer exe as far as i can tell.
id really appreciate the help if anyone has any idea what i'm missing? Do I have to install the full Qt5 framework to be able to use Qt Designer and pyQT5?
Thanks
Pete
On WinPython-64bit-3.5.2.2Qt5
I run:
pip install pyqt5-tools
installs at:
WinPython-64bit-3.5.2.2Qt5\python-3.5.2.amd64\Lib\site-packages\pyqt5-tools\designer.exe
Starts ok!
At some point during the 3.5 version of Python QT Designer was dropped from the pyqt5 package, and then picked up by the pyqt5_tools package. Unfortunately the tools package is not available for Python 3.6 (at least so far).
You can download the version 3.5 32-bit or 64-bit pyqt5_tools package from pypi.python.org:
https://pypi.python.org/pypi/pyqt5-tools/5.7.dev9
Next open the wheel package you downloaded with a zip tool and copy the designer folder and contents to a convenient location. Designer and all the needed dependencies are in this folder. Good luck.
Another way to install QT Designer is as follows:
- Install latest QT (I'm using 5.8) from QT main site
- Make sure you include "Qt 5.8 MinGW" component
- QT Designer will be installed in
C:\Qt\5.8\mingw53_32\bin\designer.exe
- Note that the executable is named "designer.exe"