aboutsummaryrefslogtreecommitdiffstats
path: root/qtcreator.pri
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2017-01-16 12:22:37 +0100
committerEike Ziller <eike.ziller@qt.io>2017-01-30 08:21:34 +0000
commit37eddb8ac210e6acccdead23d89a09b2e2509b38 (patch)
tree023468a2228d16e7e0f7e3367603ed6bf883ab18 /qtcreator.pri
parent20670d62bac41979d6223da5ad8ee93d3f76e8b6 (diff)
qmake build: Do not require 3rd party plugins to set c++14
Do it in qtcreator.pri instead again, since that is supposed to be included by projects depending on Qt Creator. Since we will use C++14 in utils/algorithm.h and other prominent places, it would be very annoying to require setting C++14 on all external plugins. Change-Id: Ie11a30b33c791f3bf6db39fcee454f1e887352c2 Reviewed-by: Marco Bubke <marco.bubke@qt.io> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'qtcreator.pri')
-rw-r--r--qtcreator.pri2
1 files changed, 2 insertions, 0 deletions
diff --git a/qtcreator.pri b/qtcreator.pri
index cf6e7fc934..e29583b653 100644
--- a/qtcreator.pri
+++ b/qtcreator.pri
@@ -6,6 +6,8 @@ QTCREATOR_COMPAT_VERSION = 4.2.82
VERSION = $$QTCREATOR_VERSION
BINARY_ARTIFACTS_BRANCH = master
+CONFIG += c++14
+
defineReplace(qtLibraryTargetName) {
unset(LIBRARY_NAME)
LIBRARY_NAME = $$1