summaryrefslogtreecommitdiff
path: root/mkspecs
diff options
context:
space:
mode:
authorDominik Holland <dominik.holland@pelagicore.com>2017-06-12 11:46:59 +0200
committerDominik Holland <dominik.holland@pelagicore.com>2017-06-14 07:34:47 +0000
commit1a951302d3bb15fa154191572642a80acbad750f (patch)
tree78947a3627af0ab94be654d0150cd412afc43037 /mkspecs
parent403072f8d852239d267c491e8a3e6442285c0f8c (diff)
downloadqtivi-1a951302d3bb15fa154191572642a80acbad750f.tar.gz
ivigenerator: Use the correct naming convention for the generated pri
All '.' are replaced with '-' in the generated pri file. Change-Id: I35b8f4b42c6cf0e208f4dbaea201ce222a781e94 Reviewed-by: Mike Krus <mike.krus@kdab.com>
Diffstat (limited to 'mkspecs')
-rw-r--r--mkspecs/features/ivigenerator.prf4
1 files changed, 3 insertions, 1 deletions
diff --git a/mkspecs/features/ivigenerator.prf b/mkspecs/features/ivigenerator.prf
index a6d28db..9fd37b9 100644
--- a/mkspecs/features/ivigenerator.prf
+++ b/mkspecs/features/ivigenerator.prf
@@ -46,7 +46,9 @@ else: ENV = LC_ALL="utf-8"
# Although this could be extra_compiler it is a normal EXTRA_TARGET for a reason.
# In the debug_and_release configuration, we want to have the generator executed
# during the run of the meta Makefile to only generate the code once.
-PRI = $$QFACE_OUTPUT_DIR/$${QFACE_MODULE_NAME}.pri
+PRI_NAME = $$replace(QFACE_MODULE_NAME, "\." , "-")
+PRI = $$QFACE_OUTPUT_DIR/$${PRI_NAME}.pri
+
qface_sources.target = $$relative_path($$PRI, $$OUT_PWD)
qface_sources.commands = $$ENV $$IVI_GENERATOR -f $$QFACE_FORMAT $$QFACE_ABS_PWD/$${QFACE_FILE} $$QFACE_OUTPUT_DIR
qface_sources.depends = $$IVI_GENERATOR_PATH/generate.py