安装依赖包
pip install sip
pip install PyQt5
pip install PyQt5-tools
安装成功后,进去pycharm,
1、进入setting——tools——External Tools
2、选择tools——External Tools——Qt Designer
\
报错:This application failed to start because no Qt platform plugin could be initialized
解决办法:
http://www.mamicode.com/info-detail-3007118.html
把anaconda3\Lib\site-packages\pyqt5_tools\Qt\plugins的platforms文件夹
复制到anaconda3\Lib\site-packages\pyqt5_tools\Qt\bin里
3、建立一个新的扩展工具