Use interfaces.h from current libCA

This commit is contained in:
Siegfried Siegert 2024-03-15 12:42:05 +01:00
parent 93e98e9809
commit acc91e1262
Signed by untrusted user: SiegfriedSiegert
GPG Key ID: 68371E015E8F0B03
2 changed files with 29 additions and 3 deletions

View File

@ -15,6 +15,33 @@ QMAKE_CXXFLAGS += -Wno-deprecated-copy
# In order to do so, uncomment the following line. # 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 #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
contains( CONFIG, PTU5 ) {
# QMAKE_CC = ccache $$QMAKE_CC
# QMAKE_CXX = ccache $$QMAKE_CXX
QMAKE_CXXFLAGS += -std=c++11
linux-clang { QMAKE_CXXFLAGS += -Qunused-arguments }
CONFIG += link_pkgconfig
PTU5BASEPATH = /opt/devel/ptu5
ARCH = PTU5
INCLUDEPATH += $$PTU5BASEPATH/qt/libs/deviceController/include/
LIBS += -L$$PTU5BASEPATH/qt/libs/deviceController/library
LIBS += -lCAslave
LIBS += -lCAmaster
}
contains( CONFIG, PTU5_YOCTO ) {
PTU5BASEPATH = /opt/devel/ptu5
ARCH = PTU5
LIBS += -lCAslave
LIBS += -lCAmaster
}
SOURCES += \ SOURCES += \
globVars.cpp \ globVars.cpp \
keypad.cpp \ keypad.cpp \
@ -76,5 +103,4 @@ HEADERS += \
win20.h \ win20.h \
win_template.h \ win_template.h \
datei.h \ datei.h \
plugin.h \ plugin.h
interfaces.h

View File

@ -1,5 +1,5 @@
#ifndef PLUGIN_H #ifndef PLUGIN_H
#define PLUGIN_H #define PLUGIN_H
#include "interfaces.h" #include <DeviceController/interfaces.h>
#endif #endif