前提:安装好pyQT5后
打开pycharm-->file-->setting--> external tools,-->点+号新建:
name: QTdesigner
Group: External Tools
program: 你的项目地址\venv\Lib\site-packages\PySide2\designer.exe
Working dirrtory: $ProjectFileDir$
# 其他的可未空
name: pyUIC
Group: External Tools
program: 你的项目地址\venv\Scripts\python.exe
Arguments: -m PyQt5.uic.pyuic $FileName$ -o $FileNameWithoutExtension$.py
Working dirrtory: $FileDir$
# 其他的可未空
name: pyRCC标签:venv,designer,未空,--,pyRCC,pyuic,Toolsprogram,External From: https://www.cnblogs.com/cooperdavid/p/16839092.html
Group: External Tools
program: 你的项目地址\venv\Scripts\pyside2-rcc.exe
Arguments: $FileName$ -o $FileNameWithoutExtension$_rc.py
Working dirrtory: $FileDir$
# 其他的可未空