[Interest] qmake and CONFIG += c++14
Wilhelm
wilhelm.meier at fh-kl.de
Wed Mar 25 07:24:10 CET 2015
Am 25.03.2015 um 06:28 schrieb Thiago Macieira:
> On Wednesday 25 March 2015 06:19:24 Wilhelm wrote:
>> Hi all,
>>
>> the qmake documentation says that is is possible to set
>>
>> CONFIG+= c++14
>>
>> But if I do so, the generated makefile still contains the flag
>>
>> -std=c++11
>>
>> So, whats wrong here?
>
> Your compiler is too old or the version was not detected.
Don't think so...
[lmeier:/home/lmeier] $ clang --version
clang version 3.6.0 (tags/RELEASE_360/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
⏚ [lmeier:/home/lmeier] $ g++ --version
g++ (GCC) 4.9.2 20150304 (prerelease)
Copyright (C) 2014 Free Software Foundation, Inc.
Dies ist freie Software; die Kopierbedingungen stehen in den Quellen. Es
gibt KEINE Garantie; auch nicht für MARKTGÄNGIGKEIT oder FÜR SPEZIELLE
ZWECKE.
>
> For this option to do anything, you need:
> Clang 3.2 and up
> Clang from XCode 5.0 and up
> GCC 4.8 [*]
>
> [*] if you're using MinGW, this will only work if you have Qt 5.5.
>
--
Wilhelm
w.meier at unix.net
More information about the Interest
mailing list