diff options
author | Neil <nyamatongwe@gmail.com> | 2017-06-12 11:49:56 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2017-06-12 11:49:56 +1000 |
commit | 46f9fd7509eaa2809392acf3a264b57a2daf973c (patch) | |
tree | 1e3ee8a900c4e4c7768abbe21bfa9acc4043b345 /qt/ScintillaEditPy/ScintillaEditPy.pro | |
parent | 09972b3a179d7ea39ef6ce7e0474531797c549fb (diff) | |
download | scintilla-mirror-46f9fd7509eaa2809392acf3a264b57a2daf973c.tar.gz |
Removed unused functions and methods from Platform.h.
Replaced Platform::Clamp with Sci::clamp but will later change this to
std::clamp once on full C++17 compilers.
Drop MouseButtonBounce workaround for very early GTK+/Linux.
Diffstat (limited to 'qt/ScintillaEditPy/ScintillaEditPy.pro')
-rw-r--r-- | qt/ScintillaEditPy/ScintillaEditPy.pro | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/qt/ScintillaEditPy/ScintillaEditPy.pro b/qt/ScintillaEditPy/ScintillaEditPy.pro index 49f7fb0f2..396e037fb 100644 --- a/qt/ScintillaEditPy/ScintillaEditPy.pro +++ b/qt/ScintillaEditPy/ScintillaEditPy.pro @@ -6,21 +6,14 @@ TARGET = ScintillaEditPy # Clear debug & release so that sepbuild.pri can set one or the other CONFIG -= debug release +CONFIG += c++14 include(sepbuild.pri) VERSION = $$SCINTILLA_VERSION -unix { - # <regex> requires C++11 support - greaterThan(QT_MAJOR_VERSION, 4){ - CONFIG += c++11 - } else { - QMAKE_CXXFLAGS += -std=c++0x -Wno-deprecated-declarations - } -} - win32 { + QMAKE_CXXFLAGS += -std:c++latest DebugBuild { TARGET_EXT = _d.pyd } |