1.安装pycharm(百度见)
2.安装PyQt5
sudo pip3 install PyQt5
3.安装qt4-designer
sudo apt install qt4-designer
4.设置pycharm
File→settings→Tools→External Tools点击+按下图新增QtDesigner和PyUIC两个工具:
-m PyQt5.uic.pyuic $FileName$ -o $FileNameWithoutExtension$.py
5.从刚才添加的路径(Tools-External Tools)下启动Qtdesigner
1.pycharm官网下载安装社区版
2.pip3 install PyQt5
pip3 install PyQt5-tools
3.类似的添加QtDesigner和PyUIC两个工具(designer.exe)
4.添加资源文件转码pyrcc5.exe(有需要的加)
pyrcc5
Program:填pyrcc5.exe路径
Parameters: $FileName$ -o $FileNameWithoutExtension$_rc.py
Working directory: $FileDir$
参考:1.Ubuntu下安装PyQt 5
2. PyQt5+python3+pycharm开发环境配置