summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/qml_module.prf
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@digia.com>2013-01-28 20:25:33 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-01-31 15:51:35 +0100
commitf75e897519183f4c5503f5c4d1c0b7046dc9d81c (patch)
treef1451eda66d81c4d308e5ce4cf3999a145a5cf43 /mkspecs/features/qml_module.prf
parent8f61befb532b1f9daf5a9aa7ab2bca5cdcdd9edb (diff)
centralize detection of prefix builds
this makes the use sites more expressive Change-Id: Ib879de65d1cc26462fa61f5339e951f294515faf Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'mkspecs/features/qml_module.prf')
-rw-r--r--mkspecs/features/qml_module.prf2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkspecs/features/qml_module.prf b/mkspecs/features/qml_module.prf
index e7d0b386b1..db5f6787b3 100644
--- a/mkspecs/features/qml_module.prf
+++ b/mkspecs/features/qml_module.prf
@@ -25,7 +25,7 @@ qml1_target: \
else: \
instbase = $$[QT_INSTALL_QML]
-exists($$[QT_HOST_PREFIX]/.qmake.cache) {
+!prefix_build {
# These bizarre rules copy the files to the qtbase build directory
defineReplace(qmlModStripSrcDir) {