首先安装pyqt5全套:pip install pyqt5-tools
打开Vscode:
安装第三方扩展:PYQT Integration
成功配置designer.exe的路径【个人安装pyqt5的执行路径】,便可直接打开UI文件,进行编辑。

配置pyuic,如果下图填写方法使用不正常可以用绝对路径:D:\python39\Scripts\pyuic5.exe

首先安装pyqt5全套:pip install pyqt5-tools
安装第三方扩展:PYQT Integration
成功配置designer.exe的路径【个人安装pyqt5的执行路径】,便可直接打开UI文件,进行编辑。
配置pyuic,如果下图填写方法使用不正常可以用绝对路径:D:\python39\Scripts\pyuic5.exe