Compare commits

..

2 Commits

6 changed files with 14 additions and 10 deletions

View File

@ -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

View File

@ -9,7 +9,7 @@
#endif
#include "message_handler.h"
#include "plugins/interfaces.h"
#include <DeviceController/interfaces.h>
#include "commandline_parser.h"
#include <unistd.h>

View File

@ -4,7 +4,7 @@
#include "utils.h"
#include "progress_event.h"
#include "update_dc_event.h"
#include "plugins/interfaces.h"
#include <DeviceController/interfaces.h>
#include <QDateTime>
#include <QMessageBox>

View File

@ -18,7 +18,7 @@
#include "unistd.h"
#endif
#include "plugins/interfaces.h"
#include <DeviceController/interfaces.h>
#include <QSharedMemory>
#include <QScopedPointer>

View File

@ -9,7 +9,7 @@
#include <QProcess>
#include <QPluginLoader>
#include "plugins/interfaces.h"
#include <DeviceController/interfaces.h>
#ifdef PTU5
#define SERIAL_PORT "ttymxc2"

View File

@ -19,7 +19,7 @@
#include <QScopedPointer>
#include "message_handler.h"
#include "plugins/interfaces.h"
#include <DeviceController/interfaces.h>
#include "ismas/ismas_client.h"
#include "progress_event.h"
#include "mainwindow.h"