diff options
author | Eike Ziller <eike.ziller@qt.io> | 2020-06-30 15:11:15 +0200 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2020-07-10 11:52:24 +0000 |
commit | d400dce35d817afd719ffadf8c8f43c8814c05c1 (patch) | |
tree | bbc56cd3c009e023a8f35c1c8cd935d979540eaa /qtcreator.pri | |
parent | e210bcf3eb2135792edd40f1b0cac1cf113fe1ef (diff) |
Require GCC 7 and enable C++17
Fix MSVC2019
- result type of conditional expression is ambiguous:
types 'const char [1]' and 'QByteArray' can be converted
to multiple common types
Fix MinGW 8.1
- undefined reference to SemanticHighlightNotification::methodName
Fix Utils::transform with std::vector for GCC & MSVC
Unfortunately we cannot get rid of the special variant and optional
implementations, because Apple Clang requires deployment target >= 10.14
for the functions that can throw std::bad_optional_access.
Fixes: QTCREATORBUG-20520
Change-Id: I5c36a70f21f8b0215d2f4fc5c0653a022778d928
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'qtcreator.pri')
-rw-r--r-- | qtcreator.pri | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qtcreator.pri b/qtcreator.pri index cc0a0b658c..af9b96bca1 100644 --- a/qtcreator.pri +++ b/qtcreator.pri @@ -7,7 +7,7 @@ include($$PWD/qtcreator_ide_branding.pri) PRODUCT_BUNDLE_IDENTIFIER=$${PRODUCT_BUNDLE_ORGANIZATION}.$${IDE_ID} VERSION = $$QTCREATOR_VERSION -CONFIG += c++14 +CONFIG += c++17 defineReplace(qtLibraryTargetName) { unset(LIBRARY_NAME) |