Till Oliver Knoll
till.oliver.knoll at gmail.com
Mon May 8 13:38:29 CEST 2017
> Am 08.05.2017 um 04:12 schrieb Hamish Moffatt <hamish at risingsoftware.com>:
>> On 08/05/17 17:07, Igor Mironchik wrote:
>> 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.
> 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.)
> The inconsistencies between platforms are annoying.
There are no inconsistencies. Qmake puts all command line executables in ".", unless otherwise specified by DESTDIR, as correctly observed.
When compiling "within Qt Creator" those settings are usually overruled by the (local, per user) project settings, which are initialised the first time you open (or create) a *.pro project file.
Furthermore, when compiling a "normal" application on macOS the executable is - by default - placed in an "app bundle" (which by itself is placed in DESTDIR).
That's no "inconsistency", but "expected platform-specific behaviour".
for more details.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Interest