Qt with OpenCV
I built OpenCV (3.1) by mingw32 with option with Qt 5.7 (set that in CMake utility). My OS is Windows 7 x64
Now i want to test it. I use the sample OpenCV program. I did it in Qt Creator. If the program running in Qt - It's working OK.
But if I run program without QTCreator - appearing the error
Entry point into procedure _Z21qRegisterResourceDataiPKhS0_S0 not find in library DLL Qt5Core.dll
Here is the PATH system variables
C:\Qt\Qt5.7.1\Tools\mingw530_32\bin; C:\Qt\Qt5.7.1\5.7\mingw53_32\bin; E:\opencv\release\x86\mingw\bin; E:\opencv\release\x86\mingw\lib;
I copied Qt5Core.dll from C:\Qt\Qt5.7.1\5.7\mingw53_32\bin to my project folder. If I do that i've another error
The procedure entry point ?left@QString@@QBE>AV1@H@Z could't be found in library DLL Qt5Core.dll
What's wrong ?
Thanks at advance
It seems that some dependencies are missed. Try to copie all dlls from the Qt\mingw\bin folder into directory wiyh your exe. Or check app.exe dependencies with dependency walker