pycharm配置pyqt5-tools

pip 安装 pyqt5-tools

1
pip install pyqt5-tools -i https://pypi.mirrors.ustc.edu.cn/simple/

启动 pycharm, 打开 Settings -> Tools -> External Tools

  • 点击+,添加工具

  • 添加 pyqtdesigner

1
2
3
4
5
- Name:  pyqtdesigner

- Program: C:\......\designer.exe

- Working dir: $ProjectFileDir$
  • 添加 pyuic5
1
2
3
4
5
6
7
- Name:  pyuic5

- Program: C:\......\pyuic5.exe

- Arguments: $FileName$ -o $FileNameWithoutExtension$.py

- Working dir: $FileDir$