PYQT +VS2017


安装 参考

https://blog.csdn.net/m0_37606112/article/details/78675610

https://blog.csdn.net/qq_41185868/article/details/79923295

 

安装工具包:

pip3 install PyQt5

pip3 install PyQt5-tools

配置工具:

工具—外部工具

pyQTDesigner

C:\Python37\Lib\site-packages\pyqt5_tools\Qt\bin\designer.exe

$(ItemFileName)_form.ui

$(ItemDir)

pyuic5

C:\Users\ZhangDong\AppData\Local\Programs\Python\Python37-32\Scripts\pyuic5.exe

$(ItemFileName)_form.ui -o $(ItemFileName)

$(ItemDir)

 

 

打包 pyinstaller -F -w path\\mycode.py (-w就是取消窗口)