安装pyqt6
pip install pyqt6 pyqt6-tools
pycharm 配置
配置designer
pycharm -->> setting —>> External Tools 点击 +
Program : D:\ProgramData\Anaconda3\Lib\site-packages\qt6_applications\Qt\bin\designer.exe
Working directory : $ProjectFileDir$
配置pyuic
pycharm -->> setting —>> External Tools 点击 +
Program : D:\ProgramData\Anaconda3\Scripts\pyuic6.exe
Arguments : -x $FileName$ -o $FileNameWithoutExtension$.py
Working directory: $FileDir$
配置pyrcc
对Qt的资源系统的支持已被删除(即没有pyrcc6
)因此无法配置pyrcc6,当然也没必要配置啦