designer.exe 無法打開
背景
python 3.8 按照 pip install pyqt5
和 pip install pyqt5-tools
完成安裝后,進入..\Python\Lib\site-packages\pyqt5_tools\Qt\bin
目錄打開 designer.exe 報錯如下:
解決方案
將以下目錄中的兩個dll文件 …\Python\Lib\site-packages\pyqt5_tools\Qt\plugins\platforms
拷貝覆蓋到 …\Python\Lib\site-packages\pyqt5_tools\Qt\bin\platforms 目錄下,即可正常打開designer.exe