From 2f9d3f2fdb62ac37293493fa3005361644f53f91 Mon Sep 17 00:00:00 2001 From: leverington Date: Sat, 16 Sep 2023 15:17:56 +0200 Subject: [PATCH] win32 or linux in .pro file CXXflags --- hit2023v2/hit2023v2.pro | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/hit2023v2/hit2023v2.pro b/hit2023v2/hit2023v2.pro index c0ee17a..1722868 100644 --- a/hit2023v2/hit2023v2.pro +++ b/hit2023v2/hit2023v2.pro @@ -5,14 +5,13 @@ #------------------------------------------------- QT += core gui network serialport -QMAKE_CXXFLAGS += -Wa,-mbig-obj unix { - QMAKE_CXXFLAGS += -Wa + QMAKE_CXXFLAGS += -W -std=c++17 } win32 { - QMAKE_CXXFLAGS += -Wa,-mbig-obj + QMAKE_CXXFLAGS += -Wa,-mbig-obj -std=c++17 } greaterThan(QT_MAJOR_VERSION, 5): QT += widgets printsupport