[Qt-interest] different CONFIG+= on debug/release
Israel Brewster
israel at frontierflying.com
Tue Dec 8 20:28:38 CET 2009
On Dec 8, 2009, at 10:16 AM, Andreas Pakulat wrote:
> 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)
Ok, that that makes sense. I had thought that I built qt using the -
debug and -release flags separately, but I must have forgot, or
accidentally put in debug_and_release (on my debug build, it wouldn't
have worked for my release build) or something. Oh well, now I know.
Thanks!
>
> Andreas
>
> --
> Your life would be very empty if you had nothing to regret.
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
-----------------------------------------------
Israel Brewster
Computer Support Technician II
Frontier Flying Service Inc.
5245 Airport Industrial Rd
Fairbanks, AK 99709
(907) 450-7250 x293
-----------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Israel Brewster.vcf
Type: text/directory
Size: 417 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091208/b3be44eb/attachment.bin
-------------- next part --------------
More information about the Qt-interest-old
mailing list