From c52b276722978c03d12455d7a19062aecfa6ae2c Mon Sep 17 00:00:00 2001 From: Gerhard Hoffmann Date: Tue, 14 May 2024 16:38:19 +0200 Subject: [PATCH] first draft --- DownloadDCFirmware/DownloadDCFirmware.pro | 33 ++++++++++++++++------- 1 file changed, 24 insertions(+), 9 deletions(-) diff --git a/DownloadDCFirmware/DownloadDCFirmware.pro b/DownloadDCFirmware/DownloadDCFirmware.pro index beb6976..088f6d1 100644 --- a/DownloadDCFirmware/DownloadDCFirmware.pro +++ b/DownloadDCFirmware/DownloadDCFirmware.pro @@ -16,6 +16,16 @@ GIT_COMMIT=$$system("git log -1 --format=oneline | cut -d' ' -f1") EXTENDED_VERSION="$${VERSION}-$${GIT_COMMIT}" +!contains(CONFIG, INCLUDEINTERFACES) { + INCLUDEINTERFACES=/opt/ptu5/opt/DCLibraries/include +} + +INCLUDEPATH += \ + plugins \ + $${INCLUDEINTERFACES} \ + $${_PRO_FILE_PWD_}/../UpdatePTUDevCtrl \ + $${_PRO_FILE_PWD_}/../common/include + CONFIG += c++17 DEFINES+=APP_VERSION=\\\"$$VERSION\\\" @@ -68,20 +78,25 @@ contains( CONFIG, DesktopLinux ) { SOURCES += \ main.cpp \ mainwindow.cpp \ - sender_thread.cpp \ - receiver_thread.cpp \ - worker_thread.cpp \ - ../common/src/message_handler.cpp + ../common/src/message_handler.cpp \ + ../UpdatePTUDevCtrl/commandline_parser.cpp \ + update.cpp \ + dc_download.cpp \ + ../common/src/System.cpp + HEADERS += \ mainwindow.h \ - sender_thread.h \ - receiver_thread.h \ - worker_thread.h \ - ../common/include/message_handler.h + ../common/include/message_handler.h \ + ../UpdatePTUDevCtrl/commandline_parser.h \ + update.h \ + dc_download.h \ + ../common/include/System.h + OTHER_FILES += \ - ATBDownloadDCFirmware.ini + ATBDownloadDCFirmware.ini \ + ../ATBUpdateTool.ini FORMS += \