QT Release build DLL procedure entry point error

前端 未结 4 1149
旧时难觅i
旧时难觅i 2020-12-17 10:51

I built an application in Qt Creator that does some image processing with CImg. It runs fine when I run it from the inside IDE, but if I try to launch it from its directory,

4条回答
  •  时光说笑
    2020-12-17 11:28

    Use DependencyWalker to list from where qtcore4.dll is loaded. I had the same problem - DependencyWalker showed me that qtcore4.dll was loaded from c:\windows\system32 - but there was no qtcore4.dll in this folder.

    Beware: On Windows 7 64 Bit c:\windows\SysWOW64 is "mapped" as c:\windows\system32. And in this folder I found the dll - I renamed the dll and the problem was solved.

    See this answer here: Qt fresh Gui application crashes on startup, faulting at QtCore4.dll

提交回复
热议问题