I have a perfectly working application (exe with about 16 DLLs) when building in debug mode. However, as soon as I switch to Release, you will get exe and all the DLL files, all the necessary DLL files copied from the QtSDK bin file, I get a runtime error.
How exactly should I eliminate what is happening? Is this a common problem? I do not get any entry points etc. To even start with .. just a common runtime error.
The only similar question I found is here , but this is from a much older version of Qt. 4.7.4 has only one bin folder.
Change 1 . I commented everything from my main.cpp, except to create my MainWindow object and everything from my MainWindow constructor, so it should just open an empty window - Runtime library error.

Note. Saving in release mode and starting the debugger starts the application in order. Debug -> Start and Debug External Application also results in an error in this Runtime Library.
source share