Fix: create plugin info

This commit is contained in:
Siegfried Siegert 2023-07-05 10:21:56 +02:00
parent 54e3e76789
commit 3071a92a3c
Signed by: SiegfriedSiegert
GPG Key ID: 68371E015E8F0B03
2 changed files with 3 additions and 1 deletions

View File

@ -45,7 +45,7 @@ contains( CONFIG, PTU5_YOCTO ) {
TARGET = ATBDeviceControllerPlugin
#DESTDIR = ../plugins
INTERFACE = DeviceController
INTERFACE_DEFINITION = $${PWD}/include/ATBAPP/DeviceControllerInterface.h
INTERFACE_DEFINITION = $${PWD}/src/ATBAPP/DeviceControllerInterface.h
DEFINES += DEVICECONTROLLERPLUGIN_LIBRARY

View File

@ -70,6 +70,8 @@ fi
#
#Q_DECLARE_INTERFACE(CCInterface,
# "eu.atb.ptu.plugin.CCInterface/2.9.0")
#Q_DECLARE_INTERFACE(DeviceControllerInterface,
# "eu.atb.ptu.plugin.DeviceControllerInterface/1.0")
# -> extract whole string within quotation marks
INTERFACE_VERSION=$(grep 'eu.atb.ptu.plugin.' ${INTERFACE_DEFINITION})
# get string within quotes: