Rename the target in the plugin.pri so plugin devs don't have to do it

pull/172/head
Michael Zanetti 2019-06-04 20:51:31 +02:00
parent 1329fab9a6
commit 80693173de
1 changed files with 3 additions and 2 deletions

View File

@ -20,8 +20,7 @@
# This project include file is meant to be used by nymea plugins.
# Example project file for a plugin:
# include(/usr/include/nymea/plugi.pri)
# TARGET = $$qtLibraryTarget(nymea_devicepluginexample)
# include($$[QT_INSTALL_PREFIX]/include/nymea/plugin.pri)
# SOURCES += devicepluginexample.cpp
# HEADERS += devicepluginexample.h
@ -83,6 +82,8 @@ HEADERS += $$OUT_PWD/plugininfo.h \
$$OUT_PWD/extern-plugininfo.h
DEPENDPATH += $$OUT_PWD
TARGET = $$qtLibraryTarget(nymea_deviceplugin"$$TARGET")
# Install plugin
target.path = $$PLUGIN_PATH
INSTALLS += target translations