[Qt-interest] different CONFIG+= on debug/release

Andreas Pakulat apaku at gmx.de
Tue Dec 8 20:16:16 CET 2009


On 08.12.09 09:43:50, Israel Brewster wrote:
> Thanks for the response. That would explain things, but it leaves
> the question: Why am I getting a debug_and_release build when I
> didn't ask for one? Is this a "feature" of Qt creator? If so, it
> would be nice if I could turn it off.

No, thats a feature of your Qt build. A Qt binary package or a Qt build
without -debug or -release is -debug_and_release and hence the qmake in
it will default to that too. The only way to get rid of it is something
like the following in your .pro file:

CONFIG -= release debug_and_release
CONFIG += debug 

(for a pure debug build)

Andreas

-- 
Your life would be very empty if you had nothing to regret.



More information about the Qt-interest-old mailing list