aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominik Holland <dominik.holland@pelagicore.com>2018-05-04 11:57:13 +0200
committerDominik Holland <dominik.holland@pelagicore.com>2018-05-07 18:31:30 +0000
commita9a6c34a2b079f7c97c82906868e8d7dc755c187 (patch)
tree9747dbae9a09dedecde218a51baa0b0ff5529b12
parentc4a239af5f963a7fee77aab4c2b18ba057e6de5d (diff)
Report a qmake error when a invalid QFACE_FORMAT is used
Reporting an error already in the qmake step is better than reading the exception from the ivigenerator Change-Id: Iba2f2c6222f76becd1131687feaa9cc2a689fa25 Reviewed-by: Antti Hölttä <ahoelttae@luxoft.com>
-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 8f98234..d4c49a5 100644
--- a/mkspecs/features/ivigenerator.prf
+++ b/mkspecs/features/ivigenerator.prf
@@ -79,6 +79,8 @@ qface_sources.depends = $$QFACE_ABS_PWD/$${QFACE_FILE}
QFACE_TEMPLATE_PWD = $$IVI_GENERATOR_PATH/templates_$${QFACE_FORMAT}
exists($$QFACE_TEMPLATE_PWD) {
qface_sources.depends += $$files($${QFACE_TEMPLATE_PWD}/*)
+} else {
+ error("Invalid QFACE_FORMAT: Couldn't find the template folder: $$QFACE_TEMPLATE_PWD")
}
# Add the configuration yaml as dependency and to other files