tags: python
It should be installed, in fact, of a total of three: python, PyQt, and QtDesigner.
PyQt5 is the need to configure the environment variables. Otherwise, direct import into the last 99% of the error is: no Qt platform plugin could be initialized.balabala ... this sentence is back out, N error many times today! ! !
Configuration:
variable name: QT_QPA_PLATFORM_PLUGIN_PATH
variable values:D:\python3\Lib\site-packages\PySide2\plugins\platforms
(D: \ python3 my python installation directory, this must replace their installation directory ha)
just look at the picture.

Step: "File" Settings "external tool" click (+) was added

specific settings:
The role of pyuic: QtDesigner document design ui interface is .ui suffix. In python, need to be converted into a .py suffix to use. pyuic is to achieve this functionality.

specific configuration:
The role of pyrcc: QtDesigner managed resource files (pictures, data files) are managed by .qrc file. pyQt generated application, reference picture is usually the resource files installed for the python file, and then reference the resource file, but can not load the resource files directly. The pyrcc is to be converted into .qrc file .py file.
For loading PyQt resource files, reference may be"Pyqt load a resource file"

specific configuration:
First, configure qtdesigner (QT UI design) Open the setting interface 2. Choose an outreach tool 3. Add Qtdesigner Tool Name is generally taken QtDesigner Program: Designer.exe path Path needs to set ...
pyqt4-tools configuration: pyqt5-tools configuration: note: 1. The pyrcc configuration is missing in the pyqt4 tutorial, you can refer to the pyqt5 tutorial, the parameters are the same, that is, the ...
1. Install pyqt5 (use Tsinghua source faster, install several times if it fails once) pip install -i https://pypi.tuna.tsinghua.edu.cn/simple pyqt5 2. Install pyqt5-tools (install several times if it ...
Qt Designer: Tools for Designing QT Interface Pyuic: Convert QT interface to .py code Pyrcc: Convert the resource file (.qrc file) into a .py file and introduced in the main program First, download PY...
System:Windows 10 IDE:PyCharm I. Install PYQT5 Enter the following code at the terminal: Second. Install Qt Designer 3. Configuring Pycharm File -> settings -> Tools -> External Tools -> &...
1 Prerequisites Install pyqt5 and pyqt5-tools Method: Install pyqt5 pip install PyQt5 -i https://pypi.douban.com/simple Install pyqt5-tools pip install PyQt5-tools -i https://pypi.douban.com/simple 2 ...
PyQt5 Designer PyUIC PyRCC python3.9 pycharm Designer designer.exe path is: %Python%\Lib\site-packages\qt5_applications\Qt\bin External Tools setting: Program: C:\Program Files\Python39\Lib\site-packa...
Installation of QTdesigner and pyUIC If it fails to start after installation, change to another installation version Configure pycharm file >> Settings >> Tools >> External Tool Clic...
QTdesigner+PyUIC QtDesigner pip install pyqt5 pip install pyqt-tools program:D:\ProgramData\Anaconda3\envs\pytorch\Scripts\designer.exe Arguments: Working directory:D:\ProgramData\Anaconda3\envs\pytor...
PYQT5 + QTDesigner, Pycharm Environment Configuration Download PYQT5 and PyQt5-Tools Configuring Pycharm Configuring qtdesigner Configuring Pyuic test Download PYQT5 and PyQt5-Tools Download using PIP...