Qt 运行时报错 This application failed to start because no Qt platform plugin could be initialized!
问题
运行时报错:
This application failed to start because no Qt platform plugin could be initialized!
如图:
描述:
代码没有问题,我换成其他构件就正常了。如 5.12.7
解决方案:
环境变量中加入:QT_PLUGIN_PATH
QT_PLUGIN_PATH=D:\Qt\Qt_SDK\5.12.6\msvc2...
原创
2020-03-24 10:23:24 ·
6917 阅读 ·
1 评论