[Interest] QMake

André Hartmann andre.hartmann at iseg-hv.de
Mon May 8 10:28:10 CEST 2017


Hi Igor,

the trick is CONFIG-=debug_and_release

BUT BE WARNED: This option is set by default, because on Windows debug 
and release object CANNOT be mixed. If you disable it, your'e on your own.

Please see https://bugreports.qt.io/browse/QTBUG-52347 for more 
information on this.

Best regards,
André

Am 08.05.2017 um 10:01 schrieb Igor Mironchik:
>
>
> 2017-05-08 10:12, Hamish Moffatt пишет:
>> On 08/05/17 17:07, Igor Mironchik wrote:
>>> Hi,
>>>
>>> Is it possible to set in qmake project file to put executable right
>>> in "." directory and don't use "debug" and "release" subdirs?
>>
>> Which platform? It does that on linux.
>
> I'm on Windows.
>
>>
>> Maybe you can use the DESTDIR variable to control where it's output.
>> (I had trouble with that on Windows or Mac, I can't remember which.)
>
> I use DESTDIR = . But executable places in "debug" or "release" subfolder.
>
>>
>> The inconsistencies between platforms are annoying.
>>
>> Hamish
>> _______________________________________________
>> Interest mailing list
>> Interest at qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/interest
>
>
> ---
> This email has been checked for viruses by AVG.
> http://www.avg.com
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest





More information about the Interest mailing list