Why can I compile in Release mode by not Debug mode?
Hi,
I am using Qt Creator 1.3.83 and am having issues compiling my code into debug mode. Everything compiles and runs fine in release mode though. I downloaded and have my PATH pointing to Qt 4.6.2 for Windows (VS 2008). Qt Creator is set to build using "Qt in PATH Debug".
When I try to build in debug mode I get the following compiler error:
Quote:
qtmaind.lib(qtmain_win.obj) : fatal LNK1103: debugging information corrupt; recompile module
command failed with exit code 1103
jom 0.8.3 -empower your cores
Does anybody have any ideas on how to remedy this?
Re: Why can I compile in Release mode by not Debug mode?
This error usually means you are using the incorrect .lib file. Ensure you are using the correct file and if so, reinstall or recompile the module.
Re: Why can I compile in Release mode by not Debug mode?
Could you please go into detail on how to do that?
Re: Why can I compile in Release mode by not Debug mode?
Recompile the module? http://doc.qt.nokia.com/4.6/deployment-windows.html
Or you could just re-download... (and don't forget MinGW libraries are not compatible with Visual Studio libraries and vice versa)
Re: Why can I compile in Release mode by not Debug mode?
I recompiled the Qt but am still having issues. I no longer get any errors but if I try to run the application it exits with code 1. If I start debugging my application never shows and it never stops at my breakpoints and issues an . Everything still works properly under Release mode.