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
My solution On Windows
pip3 install pyqt5-tools
C:\Users\<userName>\AppData\Local\Programs\Python\Python35-32\Lib\site-packages\pyqt5-tools\designer
and copy all the content to
C:\Users\<userName>\AppData\Local\Programs\Python\Python35-32\lib\site-packages\PyQt5\Qt\bin
,
don't overwrite files with the same file name!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.
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!
Another way to install QT Designer is as follows:
C:\Qt\5.8\mingw53_32\bin\designer.exe