summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/default_pre.prf
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2012-07-10 21:35:39 +0200
committerQt by Nokia <qt-info@nokia.com>2012-07-18 19:48:59 +0200
commit5f0b52ea26e96001f7c6dee98a5bea5956cda718 (patch)
treed61482fc53b8e165234ffab11e2b9e00aa44e21b /mkspecs/features/default_pre.prf
parent28d5967e68233bbc66d57d6c3ec4d7c85a2c3189 (diff)
put the include/ of all modules into qtbase when doing non-prefix build
all other build artifacts go into qtbase's build directory anyway. this asymmetry was confusing and causes cmake users some grief. Change-Id: I4d7f7b2318f6c5300eb00360664785cb2c8217b7 Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
Diffstat (limited to 'mkspecs/features/default_pre.prf')
-rw-r--r--mkspecs/features/default_pre.prf3
1 files changed, 3 insertions, 0 deletions
diff --git a/mkspecs/features/default_pre.prf b/mkspecs/features/default_pre.prf
index 2a729663be..ca63e384e6 100644
--- a/mkspecs/features/default_pre.prf
+++ b/mkspecs/features/default_pre.prf
@@ -12,6 +12,9 @@ CONFIG = lex yacc warn_on debug exceptions $$CONFIG
cache(QMAKEMODULES, add super, modpath)
unset(modpath)
}
+ } else {
+ # When doing a build without -prefix, put the headers directly into qtbase.
+ isEmpty(MODULE_BASE_OUTDIR): MODULE_BASE_OUTDIR = $$[QT_HOST_DATA]
}
qtPrepareTool(QMAKE_SYNCQT, syncqt)