[Qt-creator] SOLVED: Starting debugger launches RELEASE version, not DEBUG

David Ching dc at remove-this.dcsoft.com
Tue Oct 6 02:20:21 CEST 2009


Qt Creator 1.2.90 on Windows
Building project using Qt 4.5.3

The Projects window shows that even though the Debug configuration is 
active, the folder path of the exe that will be debugged is the release\. 
Therefore, trying to debug launched the Release version which has no debug 
info.

This was fixed in the .pro file for the exe:  I used to have:

     CONFIG(Debug, Debug|Release) {
         message(Building MyExe Debug!)
         ...
     }


By changing to all lowercase:

     CONFIG(debug, debug|release) {
         message(Building MyExe Debug!)
         ...
     }


It fixes the issue.

This is the second problem I've had with Qt's build tools having an issue 
with case sensitivity.  The other was in the Visual Studio add-on, where it 
rebuilt everything constantly if the folder was named "Release" (with a 
capital 'R') instead of "release".  This was subsequently fixed, but it 
seems case sensitivity is an underlying issue.

Thanks,
David
 




More information about the Qt-creator-old mailing list