参考视频:https://www.bilibili.com/video/av54310770?p=4 

https://www.bilibili.com/video/av54310770?p=6

在Pycharm中,点击File-Settings-Tools-External Tools

FreeCAD二次开发-使用PyQt在Pycharm添加QtDesigner和PyUIC

详细配置

 FreeCAD二次开发-使用PyQt在Pycharm添加QtDesigner和PyUIC

 Name:QtDesigner

Program:D:\FreeCAD\FreeCADLibs_11.5.3_x64_VC12\bin\designer.exe   (此处只要选择designer.exe就行,不知道哪里搞,去安装Anaconda里有)

Working directory:$FileDir$

详细配置

FreeCAD二次开发-使用PyQt在Pycharm添加QtDesigner和PyUIC

Name:PyUIC

Program:D:\Program Files\FreeCAD 0.18\bin\python.exe  (此处一定要保证当前选择的python解释器里安装了PyQt5,里面有pyuic5.exe这个文件)

Arguments:-m PyQt5.uic.pyuic  $FileName$ -o $FileNameWithoutExtension$.py

Working directory:$FileDir$

Caesar卢尚宇

2020年3月16日

相关文章:

  • 2022-12-23
  • 2022-01-08
  • 2021-08-20
  • 2021-09-03
  • 2022-12-23
  • 2021-05-24
  • 2021-05-24
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-05-30
  • 2021-09-18
  • 2022-12-23
  • 2021-04-11
相关资源
相似解决方案