1.环境配置
cmd终端输入解析进行下载安装。
pip install PyQt5 -i https://pypi.douban.com/simple pip install PyQt5-tools -i https://pypi.douban.com/simple
2. QtDesigner的配置
打开pycham,file->setting,tool->External Tools
Program:D:\Python\Python37\Lib\site-packages\pyqt5_tools\Qt\bin\designer.exe
Working directory:$FileDir$
3.配置pyuic
Program:D:\Python\Python37\python.exe
Arguments:-m PyQt5.uic.pyuic $FileName$ -o $FileNameWithoutExtension$.py
Working directory:$FileDir$