配置pyqt5开发环境

安装库

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

配置pyqt5开发环境_第1张图片
Name:QtDesigner
Program:C:\Anaconda3\envs\gui_develop\Lib\site-packages\QtDesigner\designer.exe (找到该文件的位置)
Working directory:$ProjectFileDir$

配置pyqt5开发环境_第2张图片
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

配置pyqt5开发环境_第3张图片

Name: Pyrcc
Program : C:\Python38\Scripts\pyrcc5.exe (当前rcc工具目录,请根据实际修改)
Arguments: $FileName$ -o $FileNameWithoutExtension$_rc.py
Working directory: $FileDir$

成功设置

配置pyqt5开发环境_第4张图片

参考

https://blog.csdn.net/WYKB_Mr_Q/article/details/129265121
https://blog.csdn.net/baidu_24752135/article/details/123265153

你可能感兴趣的:(python,qt,开发语言)