aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2018-03-15 01:00:42 +0100
committerQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2018-03-15 01:00:42 +0100
commit48e2b2e6eb37f06c93c77bde89e8ae0610038a6f (patch)
tree35cd4ccef3337e48ac56cf9a16256412efa039ea /tools
parent3f4496ecea2cb1cb773c899675a6ecd0ef6183d5 (diff)
parent5b1538d1c0b408bb54786336f2e59c208686edb2 (diff)
Merge remote-tracking branch 'origin/5.11' into dev
Diffstat (limited to 'tools')
-rw-r--r--tools/qmlcachegen/qtquickcompiler.prf12
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/qmlcachegen/qtquickcompiler.prf b/tools/qmlcachegen/qtquickcompiler.prf
index 75e474ba70..1e87a2d7e7 100644
--- a/tools/qmlcachegen/qtquickcompiler.prf
+++ b/tools/qmlcachegen/qtquickcompiler.prf
@@ -22,21 +22,21 @@ QMLCACHE_RESOURCE_FILES =
for(res, RESOURCES) {
absRes = $$absolute_path($$res, $$_PRO_FILE_PWD_)
- rccContents = $$system($$QMAKE_RCC_DEP -list $$absRes,lines)
+ rccContents = $$system($$QMAKE_RCC_DEP -list $$system_quote($$absRes),lines)
contains(rccContents,.*\\.js$)|contains(rccContents,.*\\.qml$) {
new_resource = $$qmlCacheResourceFileOutputName($$res)
mkpath($$dirname(new_resource))
- remaining_files = $$system($$QML_CACHEGEN_FILTER -filter-resource-file -o $$new_resource $$absRes,lines)
+ remaining_files = $$system($$QML_CACHEGEN_FILTER -filter-resource-file -o $$system_quote($$new_resource) $$system_quote($$absRes),lines)
!isEmpty(remaining_files) {
NEWRESOURCES += $$new_resource
- QMLCACHE_LOADER_FLAGS += --resource-file-mapping=$$absRes=$$new_resource
+ QMLCACHE_LOADER_FLAGS += --resource-file-mapping=$$shell_quote($$absRes=$$new_resource)
} else {
- QMLCACHE_LOADER_FLAGS += --resource-file-mapping=$$absRes
+ QMLCACHE_LOADER_FLAGS += --resource-file-mapping=$$shell_quote($$absRes)
}
QMLCACHE_RESOURCE_FILES += $$absRes
- for(candidate, $$list($$rccContents)) {
+ for(candidate, rccContents) {
contains(candidate,.*\\.js$)|contains(candidate,.*\\.qml$) {
QMLCACHE_FILES += $$candidate
}
@@ -50,7 +50,7 @@ RESOURCES = $$NEWRESOURCES
QMLCACHE_RESOURCE_FLAGS =
for(res, QMLCACHE_RESOURCE_FILES) {
- QMLCACHE_RESOURCE_FLAGS += --resource=$$res
+ QMLCACHE_RESOURCE_FLAGS += --resource=$$shell_quote($$res)
}
defineReplace(qmlCacheOutputName) {