win32 or linux in .pro file CXXflags

This commit is contained in:
Blake Leverington 2023-09-16 15:17:56 +02:00
parent 923c3f559b
commit 2f9d3f2fdb

View File

@ -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