2023-04-05 14:43:27 +02:00
|
|
|
# QT -= gui
|
2023-04-11 14:02:51 +02:00
|
|
|
QT += core
|
|
|
|
QT += widgets serialport
|
|
|
|
QT += network
|
2023-04-05 14:43:27 +02:00
|
|
|
|
|
|
|
TARGET = up_dev_ctrl
|
|
|
|
|
|
|
|
CONFIG += c++11
|
|
|
|
# CONFIG -= app_bundle
|
|
|
|
|
|
|
|
QMAKE_CXXFLAGS += -Wno-deprecated-copy
|
|
|
|
|
|
|
|
# You can make your code fail to compile if it uses deprecated APIs.
|
|
|
|
# In order to do so, uncomment the following line.
|
|
|
|
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
|
|
|
|
|
|
|
|
SOURCES += \
|
|
|
|
main.cpp \
|
|
|
|
message_handler.cpp \
|
|
|
|
load_dc_plugin.cpp \
|
|
|
|
commands_to_update_dc.cpp \
|
|
|
|
serial.cpp
|
|
|
|
|
|
|
|
HEADERS += \
|
|
|
|
message_handler.h \
|
|
|
|
load_dc_plugin.h \
|
|
|
|
commands_to_update_dc.h \
|
|
|
|
serial.h \
|
|
|
|
plugins/interfaces.h
|
|
|
|
|
2023-04-11 14:06:41 +02:00
|
|
|
# https://blog.developer.atlassian.com/the-power-of-git-subtree/?_ga=2-71978451-1385799339-1568044055-1068396449-1567112770
|
|
|
|
# git subtree add --prefix DCPlugin https://git.mimbach49.de/GerhardHoffmann/DCPlugin.git master --squash
|
|
|
|
# git subtree pull --prefix DCPlugin https://git.mimbach49.de/GerhardHoffmann/DCPlugin.git master --squash
|
|
|
|
include(./DCPlugin/DCPlugin.pri)
|
|
|
|
|
2023-04-05 14:43:27 +02:00
|
|
|
# Default rules for deployment.
|
|
|
|
qnx: target.path = /tmp/$${TARGET}/bin
|
|
|
|
else: unix:!android: target.path = /opt/$${TARGET}/bin
|
|
|
|
!isEmpty(target.path): INSTALLS += target
|