Cannot run Qt C++ release build. 'The procedur

2019-05-26 15:01发布

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条回答
时光不老,我们不散
2楼-- · 2019-05-26 15:45

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!!

查看更多
登录 后发表回答