summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/qt_tool.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/qt_tool.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/qt_tool.prf')
-rw-r--r--mkspecs/features/qt_tool.prf2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkspecs/features/qt_tool.prf b/mkspecs/features/qt_tool.prf
index 16db6c7972..b449e4074d 100644
--- a/mkspecs/features/qt_tool.prf
+++ b/mkspecs/features/qt_tool.prf
@@ -31,7 +31,7 @@ load(qt_targets)
# If we are doing a prefix build, create a "module" pri which enables
# qtPrepareTool() to work with the non-installed build.
-!build_pass:!exists($$[QT_INSTALL_PREFIX]/.qmake.cache) {
+!build_pass:prefix_build {
isEmpty(MODULE):MODULE = $$TARGET