PyQt5-Python3-PyCharm 配置

版权声明:晴天雨露 https://blog.csdn.net/qingtianyulu/article/details/87941787

File->Tools->External Tools->add

配置ui文件转换工具

Name:PyUIC
Program:D:\develop\python\Mac\venv\Scripts\pyuic5.exe               pyuic5.exe 路径
Arguments: F i l e N a m e 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 .py
Working directory: F i l e D i r FileDir

配置QtDesigner设计器

Name QtDesigner
Program D:\develop\python\Mac\venv\Lib\site-packages\pyqt5_tools\designer.exe    designer.exe 路径
Arguments F i l e D i r FileDir $FileName$
Working directory F i l e D i r FileDir

配置打包工具

Name pycc 非单文件
Program C:\Program Files (x86)\Python37-32\Scripts\pyinstaller.exe          pyinstaller.exe 路径
Arguments -F -w -D F i l e P a t h FilePath
Working directory C o n t e n t R o o t ContentRoot $FileDirName$

配置非单文件打包工具

Name pycc 单文件
Program C:\Program Files (x86)\Python37-32\Scripts\pyinstaller.exe          pyinstaller.exe 路径
Arguments -F -w F i l e P a t h FilePath
Working directory F i l e D i r FileDir $FileDirName$

猜你喜欢

转载自blog.csdn.net/qingtianyulu/article/details/87941787