From 2a8b0a636db6733b620b1486d46d5b8880516eb0 Mon Sep 17 00:00:00 2001 From: Viktor Kopp Date: Sun, 21 Jul 2024 21:57:06 +0200 Subject: [PATCH] xxx --- BuildDltViewer.pro | 2 +- qdlt/qdlt.pro | 4 ++-- src/src.pro | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/BuildDltViewer.pro b/BuildDltViewer.pro index 6e739f80..fb038814 100644 --- a/BuildDltViewer.pro +++ b/BuildDltViewer.pro @@ -2,7 +2,7 @@ TEMPLATE = subdirs CONFIG += ordered SUBDIRS += qdlt src plugin commander -CONFIG += c++17 +CONFIG += c++1z ICON = Project.icns QMAKE_INFO_PLIST = Info.plist diff --git a/qdlt/qdlt.pro b/qdlt/qdlt.pro index f7cd0878..43983fc9 100644 --- a/qdlt/qdlt.pro +++ b/qdlt/qdlt.pro @@ -2,7 +2,7 @@ PROJECT = qdlt TEMPLATE = lib -CONFIG += c++17 +#CONFIG += c++17 DEFINES += QDLT_LIBRARY *-gcc* { QMAKE_CFLAGS += -std=gnu99 @@ -11,7 +11,7 @@ DEFINES += QDLT_LIBRARY } *-g++* { - #QMAKE_CXXFLAGS += -std=gnu++0x + QMAKE_CXXFLAGS += -std=c++17 QMAKE_CXXFLAGS += -Wall QMAKE_CXXFLAGS += -Wextra QMAKE_CXXFLAGS += -DPLUGIN_INSTALLATION_PATH=\\\"$$PREFIX/usr/share/dlt-viewer/plugins\\\" diff --git a/src/src.pro b/src/src.pro index 88d57108..5669687b 100644 --- a/src/src.pro +++ b/src/src.pro @@ -12,7 +12,7 @@ QT_VER_MIN = $$member(QT_VERSION, 1) } *-g++* { - #QMAKE_CXXFLAGS += -std=gnu++0x + QMAKE_CXXFLAGS += -std=c++17 QMAKE_CXXFLAGS += -Wall QMAKE_CXXFLAGS += -Wextra #QMAKE_CXXFLAGS += -pedantic