summaryrefslogtreecommitdiff
path: root/mkspecs
diff options
context:
space:
mode:
authorDominik Holland <dominik.holland@pelagicore.com>2017-05-13 10:24:48 +0200
committerDominik Holland <dominik.holland@pelagicore.com>2017-05-29 07:58:49 +0000
commitef7aeeaf4a06fede7cd1ffccd6a037e5d83efc99 (patch)
tree68f11a87a38c4ec2614c628178ff337c6e1bf5fe /mkspecs
parent5ff59cd054ca0ee280b95dbe6202342e457d83ff (diff)
downloadqtivi-ef7aeeaf4a06fede7cd1ffccd6a037e5d83efc99.tar.gz
Change the qface-ivi-climate example to use the ivigenerator qmake integration
Moved the example into a core folder to indicate that this is part of the qtivi core module and keep the structure of the other examples. Change-Id: Ief69e0446125f5dc975d15ebeba746c69820b7c8 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 76cfbac..9847880 100644
--- a/mkspecs/features/ivigenerator.prf
+++ b/mkspecs/features/ivigenerator.prf
@@ -15,7 +15,9 @@ isEmpty(QFACE_SOURCES): error("QFACE_SOURCES must be set!")
error("Invalid qface file provided: The file needs to end with .qface")
}
-QFACE_BASE_NAME = $$replace(QFACE_SOURCES, .qface, )
+QFACE_PWD = $$dirname(QFACE_SOURCES)
+QFACE_FILE = $$basename(QFACE_SOURCES)
+QFACE_BASE_NAME = $$replace(QFACE_FILE, .qface, )
isEmpty(QFACE_MODULE_NAME): QFACE_MODULE_NAME = $$QFACE_BASE_NAME
exists($$_PRO_FILE_PWD_/$${QFACE_BASE_NAME}.yaml) {