Set c++17 for PTU5-YOCTO

This commit is contained in:
Gerhard Hoffmann 2023-07-20 09:06:07 +02:00
parent 2b934f6baf
commit 1ddd0074b3

View File

@ -44,6 +44,8 @@ contains( CONFIG, PTU5 ) {
}
contains( CONFIG, PTU5_YOCTO ) {
greaterThan(QT_MAJOR_VERSION, 4): QT += serialport
QMAKE_CXXFLAGS += -std=c++17 # for GCC >= 4.7
QMAKE_CXXFLAGS += -Wno-deprecated-copy
PTU5BASEPATH = /opt/devel/ptu5
ARCH = PTU5
DEFINES+=PTU5