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....@qt-project.org 
[mailto:interest-bounces+wcai=cypress....@qt-project.org] On Behalf Of Konrad 
Rosenbaum
Sent: 2012年1月19日 17:37
To: interest@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.
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to