Problem solved with Qt Beta 4.7
Problem solved with Qt Beta 4.7
I had a similar problem where a DLL was loading when I was running the application in VS and giving me an error when running from the command prompt.
I found that the problem was not that Windows couldn't find the DLL itself to load but rather one of its dependencies. Use the Dependency Walker to find which file should be copied to your application directory.
I'm assuming the reason that the application was running in VS was because the dependent DLL (in my case QtSql.dll) was being referenced in a library path by VS that was not in my console's path.
Bookmarks