From 37c0ad960ee4e38a0c9c79cb755aaa38f117e4c6 Mon Sep 17 00:00:00 2001 From: bgallois Date: Wed, 8 Dec 2021 16:49:32 +0100 Subject: [PATCH] [fix] fix cpp compilateur min version Require cpp17 to compile OpenJournal. Fix the ci/cd for Windows. --- src/OpenJournal.pro | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/OpenJournal.pro b/src/OpenJournal.pro index f4ea319..f886a5f 100644 --- a/src/OpenJournal.pro +++ b/src/OpenJournal.pro @@ -25,8 +25,8 @@ QMAKE_CXXFLAGS_RELEASE += -O3 QMAKE_LFLAGS_RELEASE -= -O1 QMAKE_LFLAGS_RELEASE -= -O2 QMAKE_LFLAGS_RELEASE += -O3 -QMAKE_CXXFLAGS += -std=c++11 -O3 -g -CONFIG += c++11 +QMAKE_CXXFLAGS += -std=c++17 -O3 -g +CONFIG += c++17 SOURCES += \ dialog_cloud.cpp \