From ae582b75d5caccbeb2b7845d8f86a7722aac4df6 Mon Sep 17 00:00:00 2001
From: Gerhard Hoffmann <g.hoffmann@atb-online.eu>
Date: Wed, 26 Feb 2025 16:55:40 +0100
Subject: [PATCH] remove main-window (not needed)

---
 DownloadDCFirmware/DownloadDCFirmware.pro | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/DownloadDCFirmware/DownloadDCFirmware.pro b/DownloadDCFirmware/DownloadDCFirmware.pro
index 088f6d1..98a8a9c 100644
--- a/DownloadDCFirmware/DownloadDCFirmware.pro
+++ b/DownloadDCFirmware/DownloadDCFirmware.pro
@@ -1,7 +1,6 @@
-QT += core gui
-QT += widgets serialport network
+QT += core serialport
 
-TARGET = ATBDownloadDCFirmware
+TARGET = ATBUpdateDC
 
 VERSION="0.1.0"
 win32 {
@@ -77,21 +76,23 @@ contains( CONFIG, DesktopLinux ) {
 
 SOURCES += \
         main.cpp \
-        mainwindow.cpp \
         ../common/src/message_handler.cpp \
         ../UpdatePTUDevCtrl/commandline_parser.cpp \
         update.cpp \
         dc_download.cpp \
-        ../common/src/System.cpp
+        ../common/src/System.cpp \
+        ../common/src/utils_internal.cpp \
+        ../common/src/command.cpp
 
 
 HEADERS += \
-        mainwindow.h \
         ../common/include/message_handler.h \
         ../UpdatePTUDevCtrl/commandline_parser.h \
         update.h \
         dc_download.h \
-        ../common/include/System.h
+        ../common/include/System.h \
+        ../common/include/utils_internal.h \
+        ../common/include/command.h
 
 
 OTHER_FILES += \