Hello Qt-guru's and others

I have created a program using Visual Studio 2008, Qt 4.6.2 and the Qt Visual Studio add-in 1.1.4. The program compiles and runs fine, but I recently noticed that the 'Release' version of my program still requires the debug-version of the Qt-dlls. So I set about correcting that

In the 'Linker' options of my project, I discovered that the settings for 'Additional Dependencies' under 'Input' was:
  • qtmaind.lib
  • qtcored4.lib
  • qtguid4.lib
  • qtnetworkd4.lib
  • smft31.lib


As these Qt-libs are obviously the debug-versions, I removed the 'd' in the 4 of them and rebuilt the program. It crashes

This is the output VS2008 gives me:

Qt Code:
  1. 'TestProg.exe': Loaded 'C:\Users\Wim\Documents\Visual Studio 2008\Projects\TestProg\bin\TestProg.exe', Binary was not built with debug
  2.  
  3. information.
  4. 'TestProg.exe': Loaded 'C:\Windows\System32\ntdll.dll'
  5. 'TestProg.exe': Loaded 'C:\Windows\System32\kernel32.dll'
  6. 'TestProg.exe': Loaded 'C:\Users\Wim\Documents\Visual Studio 2008\Projects\TestProg\bin\QtCore4.dll'
  7. 'TestProg.exe': Loaded 'C:\Windows\System32\user32.dll'
  8. 'TestProg.exe': Loaded 'C:\Windows\System32\gdi32.dll'
  9. 'TestProg.exe': Loaded 'C:\Windows\System32\advapi32.dll'
  10. 'TestProg.exe': Loaded 'C:\Windows\System32\rpcrt4.dll'
  11. 'TestProg.exe': Loaded 'C:\Windows\System32\ole32.dll'
  12. 'TestProg.exe': Loaded 'C:\Windows\System32\msvcrt.dll'
  13. 'TestProg.exe': Loaded 'C:\Windows\System32\ws2_32.dll'
  14. 'TestProg.exe': Loaded 'C:\Windows\System32\nsi.dll'
  15. 'TestProg.exe': Loaded 'C:\Windows\winsxs\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.4053_none_d08d7da0442a985d\msvcp80.dll'
  16. 'TestProg.exe': Loaded 'C:\Windows\winsxs\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.4053_none_d08d7da0442a985d\msvcr80.dll'
  17. Debugger:: An unhandled non-continuable exception was thrown during process load
  18. The program '[1768] TestProg.exe: Native' has exited with code -1073741511 (0xc0000139).
To copy to clipboard, switch view to plain text mode 
I'm not an expert on Qt and Visual Studio, so I ask those who are: what can cause this and how do I repair it? What I think strange (at first glance) is the reference to msvcp80 and msvcr80 instead of '90'?

Any answers would be appreciated, though a solution would be most welcome