进入到你的python scripts 文件夹中:
python 配置qt
然后 shift+鼠标右键
打开window powershell (window10)其他window版本
python 配置qt
然后里面输入 pip3 install SIP
python 配置qt
安装完成 再安装
pip3 install PyQt5
到此为止其实已经可以开发了,但是我们想要更爽的开发,可以直接拖动控件,所以需要QtDesigner,QtDesigner是QT的一个模块。
再cmd中(命令窗口)再安装
pip install PyQt5-tools
下载完毕之后
开始配置 pytharm
1.配置 QT Designer
python 配置qt
python 配置qt
2.配置PyUIC
用于把QtDesigner创建的UI文件转换成py文件。
python 配置qt

成功的图:
python 配置qt

相关文章:

  • 2021-05-04
  • 2021-05-13
  • 2022-12-23
  • 2021-05-19
  • 2022-12-23
  • 2021-06-17
  • 2021-09-17
  • 2021-08-09
猜你喜欢
  • 2021-07-15
  • 2021-08-13
  • 2021-11-11
  • 2021-09-12
  • 2021-10-27
  • 2021-07-13
  • 2021-10-21
相关资源
相似解决方案