diff options
author | Oswald Buddenhagen <oswald.buddenhagen@digia.com> | 2013-01-28 20:25:33 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-01-31 15:51:35 +0100 |
commit | f75e897519183f4c5503f5c4d1c0b7046dc9d81c (patch) | |
tree | f1451eda66d81c4d308e5ce4cf3999a145a5cf43 /mkspecs/features/qt_tool.prf | |
parent | 8f61befb532b1f9daf5a9aa7ab2bca5cdcdd9edb (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.prf | 2 |
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 |