Enable C++11 mode in compilers

Qt 5 uses C++11 features mostly for speeding up things.

Change-Id: Idcb3a95cd24b44c5147ff2e14f468f069da5e0c3
Reviewed-by: Niels Weber <niels.weber@digia.com>
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
This commit is contained in:
Kai Koehne 2014-06-19 16:13:27 +02:00 committed by Karsten Heimrich
parent b8c0d6d49b
commit 37a498b903

View File

@ -107,7 +107,7 @@ QT += uitools core-private
CONFIG(static, static|shared) {
QT += concurrent network qml xml
}
CONFIG += depend_includepath no_private_qt_headers_warning
CONFIG += depend_includepath no_private_qt_headers_warning c++11
GIT_SHA1 = $$system(git rev-list --abbrev-commit -n1 HEAD)
DEFINES += QT_NO_CAST_FROM_ASCII "_GIT_SHA1_=$$GIT_SHA1" IFW_VERSION=$$IFW_VERSION