Python3.6+PyCharm 2018.2+PyQt5的配置

1、PyQt5的配置关联PyQT Designer:
Python3.6+PyCharm 2018.2+PyQt5的配置_第1张图片
Program:
C:\Users\Administrator\AppData\Local\Programs\Python\Python36\Lib\site-packages\pyqt5-tools\designer.exe
Arguments:
F i l e N a m e FileName FileName
Working directory:
F i l e D i r FileDir FileDir
2、配置UI文件转换成对应的PYTHON文件:
Python3.6+PyCharm 2018.2+PyQt5的配置_第2张图片
Program:
C:\Users\Administrator\AppData\Local\Programs\Python\Python36\python.exe
Arguments:
-m PyQt5.uic.pyuic F i l e N a m e FileName FileName -o F i l e N a m e W i t h o u t E x t e n s i o n FileNameWithoutExtension FileNameWithoutExtension.py
Working directory:
F i l e D i r FileDir FileDir

3、最终代码的测试结果:
Python3.6+PyCharm 2018.2+PyQt5的配置_第3张图片

你可能感兴趣的:(python)