Cannot run Qt C++ release build. 'The procedure entry point could not be located'

喜夏-厌秋 提交于 2019-12-08 01:42:42

问题


I am trying to deploy my Qt application and have run into a fatal error. The program works fine in the Qt editor, I can build and run it. After building my project in release mode and using windeployqt.exe to get the correct .dll's in the folder, I am treated to this error message. I get one for 5 different Qt .dll's. I found a way to remove this error by using the .dll's from Qt tools instead of the ones found in the compiler's bin directory. But, I am left with a remaining error like this. Unlike the previous errors', there is no dll being cited, only my program's directory.

I've tried this with 2 compilers by now. That which is provided by Qt, and my own installation. Both you can tell, have failed.


回答1:


I had a similar problem few years ago when I was just learning QT. What I tried which did worked is that to move the .exe generated file to the location from where you copy paste the dlls and it worked like charm. You are getting the wrong dlls copied (perhaps). Try searching for correct ones on google!!



来源:https://stackoverflow.com/questions/42362250/cannot-run-qt-c-release-build-the-procedure-entry-point-could-not-be-located

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!