小技巧
Qt
- 遇到 Qt 报错
qt.qpa.plugin: Could not find the Qt platform plugin "windows" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
使用 qt 自带的windeployqt.exe 重新运行一下可执行文件,就OK 啦!
windeployqt ./app.exe
重新初始化一些qt的依赖库和显示窗口,就完事了。
当Qt应用程序出现'qt.qpa.plugin: Could not find the Qt platform plugin windows'错误时,可以尝试使用qt自带的windeployqt.exe工具重新部署应用程序依赖的库和窗口插件。只需运行'windeployqt ./app.exe',即可完成修复,让应用正常启动。
2万+

被折叠的 条评论
为什么被折叠?



