From 3de46ea099b63ef4ad7bae37a24bc91c6ae1e52c Mon Sep 17 00:00:00 2001 From: Siegfried Siegert Date: Thu, 22 Jun 2023 17:46:09 +0200 Subject: [PATCH] Add Config PTU5_YOCTO --- OnDemandUpdatePTU.pro | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/OnDemandUpdatePTU.pro b/OnDemandUpdatePTU.pro index 8dd60d6..686e63f 100644 --- a/OnDemandUpdatePTU.pro +++ b/OnDemandUpdatePTU.pro @@ -39,6 +39,15 @@ contains( CONFIG, PTU5 ) { ARCH = PTU5 DEFINES+=PTU5 } +contains( CONFIG, PTU5_YOCTO ) { + greaterThan(QT_MAJOR_VERSION, 4): QT += serialport + PTU5BASEPATH = /opt/devel/ptu5 + ARCH = PTU5 + DEFINES+=PTU5 + + # add qmqtt lib + #LIBS += -lQt5Qmqtt +} contains( CONFIG, DesktopLinux ) { greaterThan(QT_MAJOR_VERSION, 4): QT += serialport lessThan(QT_MAJOR_VERSION, 5): CONFIG += extserialport