summaryrefslogtreecommitdiff
path: root/mkspecs
diff options
context:
space:
mode:
authorDominik Holland <dominik.holland@pelagicore.com>2019-08-01 11:04:50 +0200
committerDominik Holland <dominik.holland@pelagicore.com>2019-08-01 16:50:24 +0200
commit434fa38eb6f7e3562bdce5290370933175efb225 (patch)
tree4952ea6228faf0e651597e99e6ca2cd459ac7d55 /mkspecs
parent4e9b53ecb262d90ea58c287325294b5c645d7ca0 (diff)
downloadqtivi-434fa38eb6f7e3562bdce5290370933175efb225.tar.gz
ivigenerator: Add support for custom templates
The support for this was already partially available, but some checks in the prf file as well as a limitation in generate.py prevented this to be usable. Also add a autotest for this to keep supporting it in the future Change-Id: Iee0b7593d788d4ee30d3483ceaa141439f93a2c4 Fixes: AUTOSUITE-1162 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
Diffstat (limited to 'mkspecs')
-rw-r--r--mkspecs/features/ivigenerator.prf2
1 files changed, 2 insertions, 0 deletions
diff --git a/mkspecs/features/ivigenerator.prf b/mkspecs/features/ivigenerator.prf
index 8c8bd8e..90f04c5 100644
--- a/mkspecs/features/ivigenerator.prf
+++ b/mkspecs/features/ivigenerator.prf
@@ -98,6 +98,8 @@ qface_sources.depends += $$files($$IVI_GENERATOR_PATH/common/*)
QFACE_TEMPLATE_PWD = $$IVI_GENERATOR_PATH/templates_$${QFACE_FORMAT}
exists($$QFACE_TEMPLATE_PWD) {
qface_sources.depends += $$files($${QFACE_TEMPLATE_PWD}/*)
+} else: exists($${QFACE_FORMAT}) {
+ qface_sources.depends += $$files($${QFACE_FORMAT}/*)
} else {
error("Invalid QFACE_FORMAT: Couldn't find the template folder: $$QFACE_TEMPLATE_PWD")
}