gt.qpa.plugin: Could not find the Ot platform plugin "windows" in "" 解决方法

 用户里新建环境变量
QT_QPA_PLATFORM_PLUGIN_PATH

找到qt5_applications\Qt\plugins\platforms的路径,添加到环境变量里

我的是:

C:\Programs\Python\Python311\Lib\site-packages\qt5_applications\Qt\plugins\platforms

posted @ 2025-03-25 23:56  黄晓明演技担当  阅读(281)  评论(0)    收藏  举报