pyside2 install
pip install PySide2
If the installation is slow, you can choose the mirror source installation
pip install PySide2 -i https://pypi.tuna.tsinghua.edu.cn/simple
add to pycharm
pyside2-uic.exe can convert ui files to py files.
Add pyside2-uic.exe and designer.exe to the pycharm extension tool
. Open Pycharm File->Settings and set as shown below
Add QtDesigner to pycharm extension tools.
program: QtDesigner.exe 路径
work directory: $FileDir$
program: pyside2-uic.exe 路径
arguments: -o $FileNameWithoutExtension$.py $FileName$
work directory : $FileDir$