安装库
pip install pyqt5 -i https://mirrors.aliuyun.com/pypi/simple
pip install pyqt5-tools -i https://mirrors.aliuyun.com/pypi/simple
pip install PyQt5designer -i https://mirrors.aliuyun.com/pypi/simple
配置External Tools
Name:QtDesigner
Program:C:\Anaconda3\envs\gui_develop\Lib\site-packages\QtDesigner\designer.exe (找到该文件的位置)
Working directory:$ProjectFileDir$
Name:PyUIC
Program:Anaconda3\envs\gui_develop\python.exe
Arguments:-m PyQt5.uic.pyuic $FileName$ -o $FileNameWithoutExtension$.py
Working directory:$FileDir$
![在这里插入图片描述](https://img-blog.csdnimg.cn/1cbf933ebda345f080b1afe564d11850.png
Name: Pyrcc
Program : C:\Python38\Scripts\pyrcc5.exe (当前rcc工具目录,请根据实际修改)
Arguments: $FileName$ -o $FileNameWithoutExtension$_rc.py
Working directory: $FileDir$
成功设置
参考
https://blog.csdn.net/WYKB_Mr_Q/article/details/129265121
https://blog.csdn.net/baidu_24752135/article/details/123265153