From 46f9fd7509eaa2809392acf3a264b57a2daf973c Mon Sep 17 00:00:00 2001 From: Neil Date: Mon, 12 Jun 2017 11:49:56 +1000 Subject: 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. --- qt/ScintillaEditPy/ScintillaEditPy.pro | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'qt/ScintillaEditPy') 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 { - # 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 } -- cgit v1.2.3