forked from qt-creator/qt-creator
Enable C++11 on all platforms except Mac/release
This allows us to profit from the Qt extensions for C++11, and also makes sure e.g. QTC_OVERRIDE is consistenly checked. We can't enable it (yet) for Mac/release though to be able to deploy to 10.6 .. Change-Id: Icd26ab5f971532ff10a892221c653987026ac88d Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
@@ -5,6 +5,9 @@ QTCREATOR_VERSION = 3.0.81
|
|||||||
QTCREATOR_COMPAT_VERSION = 3.0.81
|
QTCREATOR_COMPAT_VERSION = 3.0.81
|
||||||
BINARY_ARTIFACTS_BRANCH = master
|
BINARY_ARTIFACTS_BRANCH = master
|
||||||
|
|
||||||
|
# enable c++11 on everything but mac/release (breaks 10.6)
|
||||||
|
!macx|CONFIG(debug, debug|release): CONFIG += c++11
|
||||||
|
|
||||||
isEqual(QT_MAJOR_VERSION, 5) {
|
isEqual(QT_MAJOR_VERSION, 5) {
|
||||||
|
|
||||||
defineReplace(cleanPath) {
|
defineReplace(cleanPath) {
|
||||||
|
Reference in New Issue
Block a user