Use global interfaces.h

This commit is contained in:
Siegfried Siegert 2024-01-31 13:42:51 +01:00
parent 0cc89cefab
commit 7ae4ddd851
Signed by: SiegfriedSiegert
GPG Key ID: 68371E015E8F0B03
4 changed files with 14 additions and 7 deletions

View File

@ -30,7 +30,14 @@ contains( CONFIG, PTU5 ) {
QMAKE_CXXFLAGS += -std=c++11 QMAKE_CXXFLAGS += -std=c++11
linux-clang { QMAKE_CXXFLAGS += -Qunused-arguments } linux-clang { QMAKE_CXXFLAGS += -Qunused-arguments }
CONFIG += link_pkgconfig CONFIG += link_pkgconfig
PTU5BASEPATH = /opt/devel/ptu5
ARCH = PTU5 ARCH = PTU5
INCLUDEPATH += $$PTU5BASEPATH/qt/libs/deviceController/include/
LIBS += -L$$PTU5BASEPATH/qt/libs/deviceController/library
LIBS += -lCAslave
LIBS += -lCAmaster
} }
contains( CONFIG, PTU5_YOCTO ) { contains( CONFIG, PTU5_YOCTO ) {
@ -38,8 +45,8 @@ contains( CONFIG, PTU5_YOCTO ) {
PTU5BASEPATH = /opt/devel/ptu5 PTU5BASEPATH = /opt/devel/ptu5
ARCH = PTU5 ARCH = PTU5
# add qmqtt lib LIBS += -lCAslave
#LIBS += -lQt5Qmqtt LIBS += -lCAmaster
} }
TARGET = ATBDeviceControllerPlugin TARGET = ATBDeviceControllerPlugin
@ -69,7 +76,6 @@ DEFINES += QT_DEPRECATED_WARNINGS
# ATBAPP interface # ATBAPP interface
HEADERS += \ HEADERS += \
include/interfaces.h \
src/ATBAPP/ATBAPPplugin.h \ src/ATBAPP/ATBAPPplugin.h \
src/ATBAPP/DeviceControllerDiag.h \ src/ATBAPP/DeviceControllerDiag.h \
src/ATBAPP/DeviceControllerInterface.h \ src/ATBAPP/DeviceControllerInterface.h \

View File

@ -12,7 +12,7 @@
#include "support/PersistentData.h" #include "support/PersistentData.h"
#include "interfaces.h" #include <DeviceController/interfaces.h>
#include <unistd.h> #include <unistd.h>

View File

@ -5,9 +5,10 @@
#include <QSet> #include <QSet>
#include <QTimer> #include <QTimer>
#include "ATBMachineEvent.h" #include <DeviceController/interfaces.h>
#include "interfaces.h"
#include "DeviceControllerInterface.h" #include "DeviceControllerInterface.h"
#include "ATBMachineEvent.h"
#include "support/PersistentData.h" #include "support/PersistentData.h"

View File

@ -2,7 +2,7 @@
#define CASHUTILS_H #define CASHUTILS_H
#include <QObject> #include <QObject>
#include "interfaces.h" #include <DeviceController/interfaces.h>
namespace CashUtils { namespace CashUtils {