[Qt-interest] [Interest] Debugging on Linux

Bill Crocker william.crocker at analog.com
Wed Nov 2 18:18:05 CET 2011


> 
> IMO, it's better to have a -debug build of Qt for development.  In some 
> cases, a debug Qt gave me runtime warnings about wrong code in my apps 
> (it would tell me for example that I was using QPainter in a wrong way.) 
>   The -release version didn't do that.
> 
> The way I've set this up, is to simply build and install Qt twice with 
> different target directories.  Then I use the appropriate qmake binary. 
>   For developing, I use the qmake from the debug build.  For building a 
> release binary, I use qmake from the release build from Qt.

Me too, and use of a debug version is essential during
test because of the built-in assertions which are enabled.

Bill





More information about the Qt-interest-old mailing list