[Qt-interest] Debug and release modes ?

Matthias Pospiech matthias.pospiech at gmx.de
Tue Jun 2 08:35:10 CEST 2009


Ferenc Stelcz schrieb:
> Patric wrote:
>   
>>  Hello,  
>>   I have a very basic question. What's the difference between debug and release modes in QT Creator ? I think debug is to compile while in development 
>>   process, and release is to compile the final product or something ?
>>  
>>     
>
> It's pretty much like that. Debug builds are to be used with a debugger, like 
> the GDB in QtCreator to debug your application in the testing phase. This 
> produces larger binaries with lots of debug symbols to help you find bugs in 
> your code.
Offtopic:
On Windows using the MSVC Compiler you can also debug in release mode 
and thus find out where your application crashes for example.
Only the variable numbers are very likly nonsense.

Matthias



More information about the Qt-interest-old mailing list