Fix deprecated eventTypeName and make json files visible to the Qt Creator

pull/1/head
Simon Stürz 2018-02-09 13:09:52 +01:00 committed by Michael Zanetti
parent fe27831d9b
commit 16fe6a2b52
1 changed files with 3 additions and 0 deletions

View File

@ -18,6 +18,9 @@ snappy{
INCLUDEPATH+=$$(SNAPCRAFT_STAGE)/usr/include/guh INCLUDEPATH+=$$(SNAPCRAFT_STAGE)/usr/include/guh
} }
# Make the device plugin json file visible in the Qt Creator
OTHER_FILES+=$$PWD/$${TARGET}/deviceplugin"$$TARGET".json
# Create plugininfo file # Create plugininfo file
plugininfo.commands = guh-generateplugininfo --filetype i --jsonfile $$PWD/$${TARGET}/deviceplugin"$$TARGET".json --output plugininfo.h --builddir $$OUT_PWD; \ plugininfo.commands = guh-generateplugininfo --filetype i --jsonfile $$PWD/$${TARGET}/deviceplugin"$$TARGET".json --output plugininfo.h --builddir $$OUT_PWD; \
guh-generateplugininfo --filetype e --jsonfile $$PWD/$${TARGET}/deviceplugin"$$TARGET".json --output extern-plugininfo.h --builddir $$OUT_PWD; guh-generateplugininfo --filetype e --jsonfile $$PWD/$${TARGET}/deviceplugin"$$TARGET".json --output extern-plugininfo.h --builddir $$OUT_PWD;