aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorSamuli Piippo <samuli.piippo@qt.io>2018-02-02 11:54:27 +0200
committerSamuli Piippo <samuli.piippo@qt.io>2018-02-08 08:11:34 +0000
commitf6e8dfb82328c21228837e18a0ec8f6287a1b485 (patch)
treec19fc760394a4bcdd5d43c36277840f091fc521e /tools
parent2e67da2b5c640f63876450e80a193229ef309212 (diff)
Use qmlcachegen path from qtPrepareTool
Full path is already resolved by qtPrepareTool. Change-Id: If4232d247f64ffde85ce5ebe7bea8ab77d5bf32e Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'tools')
-rw-r--r--tools/qmlcachegen/qtquickcompiler.prf6
1 files changed, 2 insertions, 4 deletions
diff --git a/tools/qmlcachegen/qtquickcompiler.prf b/tools/qmlcachegen/qtquickcompiler.prf
index b68e8f91a2..75e474ba70 100644
--- a/tools/qmlcachegen/qtquickcompiler.prf
+++ b/tools/qmlcachegen/qtquickcompiler.prf
@@ -79,10 +79,8 @@ qmlcache_loader.dependency_type = TYPE_C
qmlcache_loader.CONFIG = combine
unix:!no_qmlcache_depend {
- compiler_bin = $$[QT_HOST_BINS]/qmlcachegen
- contains(QMAKE_HOST.os, Windows): compiler_bin = $${compiler_bin}.exe
- qmlcache.depends += $$compiler_bin
- qmlcache_loader.depends += $$compiler_bin
+ qmlcache.depends += $$QML_CACHEGEN
+ qmlcache_loader.depends += $$QML_CACHEGEN
}
QMAKE_EXTRA_COMPILERS += qmlcache qmlcache_loader