【qt错误】This application failed to start because it could not find or load

来源:互联网 发布:ipad如何清除缓存数据 编辑:程序博客网 时间:2024/05/16 04:08

qt发布exe无法运行,提示plugin windows错误

This application failed to start because it could not find or load the Qt platform plugin “windows”.

解决方法:
将QT的bin目录下的\platforms\qwindows.dll拷贝至exe所在目录,注意保留\platforms子目录


另外,运行exe,提示应用程序错误
解决方法:
缺少dll,并非qt的dll,而是qt以外的库;缺少qt本身的dll,会报错提示相应的dll名称

阅读全文
1 0
原创粉丝点击