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