win32 or linux in .pro file CXXflags
This commit is contained in:
parent
923c3f559b
commit
2f9d3f2fdb
@ -5,14 +5,13 @@
|
|||||||
#-------------------------------------------------
|
#-------------------------------------------------
|
||||||
|
|
||||||
QT += core gui network serialport
|
QT += core gui network serialport
|
||||||
QMAKE_CXXFLAGS += -Wa,-mbig-obj
|
|
||||||
|
|
||||||
unix {
|
unix {
|
||||||
QMAKE_CXXFLAGS += -Wa
|
QMAKE_CXXFLAGS += -W -std=c++17
|
||||||
}
|
}
|
||||||
|
|
||||||
win32 {
|
win32 {
|
||||||
QMAKE_CXXFLAGS += -Wa,-mbig-obj
|
QMAKE_CXXFLAGS += -Wa,-mbig-obj -std=c++17
|
||||||
}
|
}
|
||||||
|
|
||||||
greaterThan(QT_MAJOR_VERSION, 5): QT += widgets printsupport
|
greaterThan(QT_MAJOR_VERSION, 5): QT += widgets printsupport
|
||||||
|
Loading…
Reference in New Issue
Block a user