文章目录

  • 配置pyuic5
  • 配置QtDesigner
  • 说明

配置pyuic5

Pycharm外部工具配置之pyuic5 and QtDesigner
Pycharm外部工具配置之pyuic5 and QtDesigner

Program : pyuic5程序路径。
Arguments : $FileName$ -o $FileNameWithoutExtension$.py (使转换后的文件的文件 名在前缀上与被转换文件相同。)
Working directory : $FileDir$ (pyuic5转换后的文件的存放目录设置为被转换文件的同级转换目录。)

配置QtDesigner

Pycharm外部工具配置之pyuic5 and QtDesigner
Pycharm外部工具配置之pyuic5 and QtDesigner

Program : QtDesigner程序路径。
Arguments : 无。
Working directory : $ProjectFileDir$ (设置QtDesigner的工作目录与Python当前项目路径相同。)

说明

Pycharm外部工具配置之pyuic5 and QtDesigner
1 、pyuic5
选择需被转换文件后,右键 --> 点击 Exter Tools --> pyuic5
即发生转换。
2、QtDesigner
右键 --> 点击 Exter Tools --> QtDesigner
即打开QtDesigner程序。

相关文章:

  • 2021-04-11
  • 2021-07-14
  • 2022-12-23
  • 2021-12-08
  • 2021-05-24
  • 2021-07-07
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-09-03
  • 2021-10-15
  • 2022-12-23
  • 2021-07-30
  • 2021-12-28
  • 2021-12-10
  • 2022-12-23
相关资源
相似解决方案