Fix: create plugin info
This commit is contained in:
parent
54e3e76789
commit
3071a92a3c
@ -45,7 +45,7 @@ contains( CONFIG, PTU5_YOCTO ) {
|
|||||||
TARGET = ATBDeviceControllerPlugin
|
TARGET = ATBDeviceControllerPlugin
|
||||||
#DESTDIR = ../plugins
|
#DESTDIR = ../plugins
|
||||||
INTERFACE = DeviceController
|
INTERFACE = DeviceController
|
||||||
INTERFACE_DEFINITION = $${PWD}/include/ATBAPP/DeviceControllerInterface.h
|
INTERFACE_DEFINITION = $${PWD}/src/ATBAPP/DeviceControllerInterface.h
|
||||||
|
|
||||||
DEFINES += DEVICECONTROLLERPLUGIN_LIBRARY
|
DEFINES += DEVICECONTROLLERPLUGIN_LIBRARY
|
||||||
|
|
||||||
|
@ -70,6 +70,8 @@ fi
|
|||||||
#
|
#
|
||||||
#Q_DECLARE_INTERFACE(CCInterface,
|
#Q_DECLARE_INTERFACE(CCInterface,
|
||||||
# "eu.atb.ptu.plugin.CCInterface/2.9.0")
|
# "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
|
# -> extract whole string within quotation marks
|
||||||
INTERFACE_VERSION=$(grep 'eu.atb.ptu.plugin.' ${INTERFACE_DEFINITION})
|
INTERFACE_VERSION=$(grep 'eu.atb.ptu.plugin.' ${INTERFACE_DEFINITION})
|
||||||
# get string within quotes:
|
# get string within quotes:
|
||||||
|
Loading…
Reference in New Issue
Block a user