문제

I have Qt 4.8.1 installed on a windows 7 64 bit OS. I am using opencv and Qt together for my project. For opencv dll's i gave the necessary path and everything in .pro. Everything was working fine until yesterday. My code gets compiled successfully, but now when i run, it says that abc.exe executed with code -1073741511.

When I manually run the .exe file from debug or release folder it says that some entry point could not be located in QtCore4.dll.

I tried everything, from setting the Qt & opencv Dlls in %PATH% environment variable to copy and pasting the dlls to the same folder to that of .exe

i hav seen the .exe through dependency walker also and it shows me red color in Link checksum field of QtCore4.dll.

Can anybody help me on this?????

도움이 되었습니까?

해결책

Make sure you are not using (by using i mean copy/add to path) a wrong dll, i mean a dll that was built with a different compiler, example the default (MinGW version) SDK has two versions of QtCore.dll: the correct one (built with MinGW): QT_INSTALL_PATH/qt/bin and one built with some version of VS: QT_INSTALL_PATH/bin (this one is used by Creator and other tools)

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top