Fix deprecated eventTypeName and make json files visible to the Qt Creator
This commit is contained in:
parent
8d7c74634f
commit
b4bd45d82a
@ -41,7 +41,7 @@
|
|||||||
"id": "6d5e792a-c786-40d2-ae35-a48ac6fafcbc",
|
"id": "6d5e792a-c786-40d2-ae35-a48ac6fafcbc",
|
||||||
"name": "connected",
|
"name": "connected",
|
||||||
"displayName": "connected",
|
"displayName": "connected",
|
||||||
"eventTypeName": "connected changed",
|
"displayNameEvent": "connected changed",
|
||||||
"type": "bool",
|
"type": "bool",
|
||||||
"defaultValue": false
|
"defaultValue": false
|
||||||
},
|
},
|
||||||
@ -64,7 +64,7 @@
|
|||||||
"name": "color",
|
"name": "color",
|
||||||
"displayName": "color",
|
"displayName": "color",
|
||||||
"displayNameEvent": "color changed",
|
"displayNameEvent": "color changed",
|
||||||
"disoplayNameAction": "Set color",
|
"displayNameAction": "Set color",
|
||||||
"type": "QColor",
|
"type": "QColor",
|
||||||
"ruleRelevant": false,
|
"ruleRelevant": false,
|
||||||
"eventRuleRelevant": false,
|
"eventRuleRelevant": false,
|
||||||
|
|||||||
@ -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;
|
||||||
|
|||||||
@ -47,7 +47,7 @@
|
|||||||
"id": "5c400da4-a14e-4e0a-be9f-c82ffe7e1972",
|
"id": "5c400da4-a14e-4e0a-be9f-c82ffe7e1972",
|
||||||
"name": "hardwareRevision",
|
"name": "hardwareRevision",
|
||||||
"displayName": "Hardware revision",
|
"displayName": "Hardware revision",
|
||||||
"eventTypeName": "Hardware revision changed",
|
"displayNameEvent": "Hardware revision changed",
|
||||||
"type": "QString",
|
"type": "QString",
|
||||||
"defaultValue": "-"
|
"defaultValue": "-"
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user