From 3071a92a3c83da7e5cfb0ddc72fd7732c923a255 Mon Sep 17 00:00:00 2001 From: Siegfried Siegert Date: Wed, 5 Jul 2023 10:21:56 +0200 Subject: [PATCH] Fix: create plugin info --- DCPlugin.pro | 2 +- generate-version.sh | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/DCPlugin.pro b/DCPlugin.pro index 8c31421..fece604 100644 --- a/DCPlugin.pro +++ b/DCPlugin.pro @@ -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 diff --git a/generate-version.sh b/generate-version.sh index dcbcdae..f2b63c0 100755 --- a/generate-version.sh +++ b/generate-version.sh @@ -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: