您的位置:首页 > 移动开发

Application failed to start because it could not find or load the QT platform plugin “windows”

2016-11-06 16:38 771 查看
The error is caused because the program can't find 
qwindows.dll


qwindows.dll
 has
to be in a folder named 
platforms
 so
that the path from your executable to the dll is 
platforms/qwindows.dll


Whereas this wasn't enough in my case. I had also to add following line at the beginning of my main()
QCoreApplication::addLibraryPath("./");


Then everything worked.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐