diff options
author | Dominik Holland <dominik.holland@pelagicore.com> | 2019-08-01 11:04:50 +0200 |
---|---|---|
committer | Dominik Holland <dominik.holland@pelagicore.com> | 2019-08-01 16:50:24 +0200 |
commit | 434fa38eb6f7e3562bdce5290370933175efb225 (patch) | |
tree | 4952ea6228faf0e651597e99e6ca2cd459ac7d55 /mkspecs/features/ivigenerator.prf | |
parent | 4e9b53ecb262d90ea58c287325294b5c645d7ca0 (diff) | |
download | qtivi-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/features/ivigenerator.prf')
-rw-r--r-- | mkspecs/features/ivigenerator.prf | 2 |
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") } |