[Qt-creator] Compilation in debug/release modes

Aekold Helbrass helbrass at gmail.com
Thu Apr 15 13:29:18 CEST 2010


Hi All!

I used qDebug in my project, but it shows output even when built in
release mode. I found that -DQT_NO_DEBUG flag is used for g++, but
qt/doc/html/debug.html states that QT_NO_DEBUG_OUTPUT should be used.

I am using QtCreator 1.3.1 with qmake, with system Qt 4.5.3 (SUSE 11.2
official).

I am new to C++, and I'm not sure how debugging works. In win32
version it was relatively easy just to create static release build and
it just worked. But how can QtCreator build debug version if there is
no debug Qt build in my system and will there be any difference
between debug and release CMake builds?



More information about the Qt-creator-old mailing list