Error trying to run Qt application release build on Windows

I am trying to create a version of my windows application. The program compiles and works fine in Qt Creator, but when I try to run it autonomously, it gives the following error:

The procedure entry point _Z17qt_message_output9QtMsgTypePKc could not be located in the dynamic link library QtCore4.dll 

I have all the necessary DLL files in my application folder and they are the same as for the binary files downloaded from the Qt website. This mistake drives me crazy because I cannot find a reason for this. The application works fine on Linux and MAC OS X.

+3
source share
1 answer

Ok, I found a problem. I copied dll wrosng (I don't know why Qt comes with two different versions).

The correct ones are in: C: \ Qt \ 2010.05 \ qt \ bin and NOT in C: \ Qt \ 2010.05 \ bin

I hope this helps anyone who might stumble upon this problem.

+1
source

Source: https://habr.com/ru/post/1441165/


All Articles