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_build_config.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_build_config.prf')
-rw-r--r-- | mkspecs/features/qt_build_config.prf | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mkspecs/features/qt_build_config.prf b/mkspecs/features/qt_build_config.prf index 48d6001aa9..4f5b62e1e5 100644 --- a/mkspecs/features/qt_build_config.prf +++ b/mkspecs/features/qt_build_config.prf @@ -20,7 +20,10 @@ debug(1, "Not loading qmodule.pri twice") } -!build_pass:!isEmpty(_QMAKE_SUPER_CACHE_):!exists($$[QT_HOST_DATA]/.qmake.cache) { +!exists($$[QT_HOST_DATA]/.qmake.cache): \ + CONFIG += prefix_build + +!build_pass:!isEmpty(_QMAKE_SUPER_CACHE_):prefix_build { # When doing a -prefix build of top-level qt5/qt.pro, we need to announce # this repo's module pris' location to the other repos. isEmpty(MODULE_QMAKE_OUTDIR): MODULE_QMAKE_OUTDIR = $$shadowed($$dirname(_QMAKE_CONF_)) |