[Interest] why debug_and_release can't be removed from CONFIG

Vincent Cai wcai at cypress.com
Thu Jan 19 10:46:32 CET 2012


Actually, I have done what you said as below shown:

CONFIG -= debug_and_release #TODO: why can't remove this configuration
CONFIG -= release
CONFIG += debug

-----Original Message-----
From: interest-bounces+wcai=cypress.com at qt-project.org [mailto:interest-bounces+wcai=cypress.com at qt-project.org] On Behalf Of Konrad Rosenbaum
Sent: 2012年1月19日 17:37
To: interest at qt-project.org
Subject: Re: [Interest] why debug_and_release can't be removed from CONFIG

On Thursday 19 January 2012 08:15:21 Vincent Cai wrote:
> When I try remove debug_and_release from CONFIG, CONFIG -=
> debug_and_release

I don't think "debug_and_release" is a valid configuration beyond building Qt itself. Instead of removing this class of config option you should either do
CONFIG+=release or CONFIG+=debug. You can do this multiple times and the
CONFIG+last
one wins.


        Konrad

This message and any attachments may contain Cypress (or its subsidiaries) confidential information. If it has been received in error, please advise the sender and immediately delete this message.


More information about the Interest mailing list