From df7cabe2c12e97edc2f2dc70b9570fec14f7eaaf Mon Sep 17 00:00:00 2001 From: Gerhard Hoffmann Date: Fri, 15 Mar 2024 12:05:50 +0100 Subject: [PATCH] Remove references to interfaces.h. Add refs to device-controller --- UpdatePTUDevCtrl/UpdatePTUDevCtrl.pro | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/UpdatePTUDevCtrl/UpdatePTUDevCtrl.pro b/UpdatePTUDevCtrl/UpdatePTUDevCtrl.pro index c074929..c78a813 100644 --- a/UpdatePTUDevCtrl/UpdatePTUDevCtrl.pro +++ b/UpdatePTUDevCtrl/UpdatePTUDevCtrl.pro @@ -197,6 +197,12 @@ contains( CONFIG, PTU5 ) { CONFIG += link_pkgconfig lessThan(QT_MAJOR_VERSION, 5): PKGCONFIG += qextserialport QMAKE_CXXFLAGS += -O2 -std=c++17 # for GCC >= 4.7 + + PTU5BASEPATH = /opt/devel/ptu5 + + INCLUDEPATH += $$PTU5BASEPATH/qt/libs/devicecontroller/include + LIBS += -L$$PTU5BASEPATH/qt/libs/devicecontroller/library + # QMAKE_CXXFLAGS += -Wno-deprecated-copy ARCH = PTU5 DEFINES+=PTU5 @@ -209,8 +215,8 @@ contains( CONFIG, PTU5_YOCTO ) { ARCH = PTU5 DEFINES+=PTU5 - # add qmqtt lib - #LIBS += -lQt5Qmqtt + LIBS += -lCAslave + LIBS += -lCAmaster } contains( CONFIG, DesktopLinux ) { greaterThan(QT_MAJOR_VERSION, 4): QT += serialport @@ -250,9 +256,7 @@ HEADERS += \ process/command.h \ message_handler.h \ worker.h \ - interfaces.h \ - commandline_parser.h \ - plugins/interfaces.h + commandline_parser.h OTHER_FILES += \ ATBUpdateTool.ini