赞
踩
pip install pyqt5==5.15.4
pip install pyqt5-tools==5.15.4.3.2
打开pycharm,File->settings->Tools->External Tools->+(添加外部工具)
Name:Qdesigner
Program:env/Lib/site-packages/qt5_applications/Qt/bin/designer.exe(designer.exe的安装路径)
Arguments:$FileName$
directory:$FileDir$
Name:pyuic
Program:env/Scripts/pyuic5.exe(pyuic的安装路径)
Arguments:$FileName$
-o$FileNameWithoutExtension$
.py
directory:$FileDir$
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。