[Qt-creator] how to set binary different in debug and release mode

Matthias Pospiech matthias.pospiech at gmx.de
Mon Aug 16 15:37:08 CEST 2010


André Pönitz schrieb:
> On Monday 16 August 2010 15:11:30 ext Matthias Pospiech wrote:
>   
>> [...]
>> CONFIG(debug, debug|release):win32:BINARY_NAME = $$join(BINARY_NAME,,,d)
>>
>> TARGET = $${BINARY_NAME}
>>
>> BIN_DIR = ../bin
>>
>> debug:DESTDIR = $${BIN_DIR}/$${COMPILER}/debug/
>> [...]
>>     
>
> Does using 
>
>    CONFIG(debug, debug|release):DESTDIR = $${BIN_DIR}/$${COMPILER}/debug/
>
> make a difference?
>   
It is true that this is necessary if I compile in both modes, currently 
I have the other switched of which means that my code works.
But anyway I am not talking about qmake code- because that works. I was 
only interested if one could set different binarys in the QtCreator 
project settings.

Matthias




More information about the Qt-creator-old mailing list