python pycharm QT

pip install D:\Repo\AI_SOFTWARE\PyQt5_Qt5-5.15.2-py3-none-win_amd64.whl
pip install D:\Repo\AI_SOFTWARE\PyQt5-5.15.4-cp36.cp37.cp38.cp39-none-win_amd64.whl -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn
pip install pyqt5-tools -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn

添加Qt Designer 到 external tool 后
新增环境变量
QT_QPA_PLATFORM_PLUGIN_PATH
D:\Program Files\Anconda3\pkgs\qt-5.9.7-vc14h73c81de_0\Library\plugins\platforms
 

图中关键字

QtDesigner

PyUIC

$FileName$ -o $FileNameWithoutExtension$.py

$ProjectFileDir$

python pycharm QT_第1张图片

python pycharm QT_第2张图片

成功标志

python pycharm QT_第3张图片

 

 

 

你可能感兴趣的:(python,qt,pycharm)