path: root/mkspecs/features/qt_common.prf
diff options
authorOswald Buddenhagen <>2016-08-22 12:46:16 +0200
committerOswald Buddenhagen <>2016-08-24 15:28:50 +0000
commit2c5eb3e668ee50fce85c22cf8b64b7d1aa7a936e (patch)
tree18d7a552ae570cbc2916358ad7010b1005d41b4a /mkspecs/features/qt_common.prf
parent86ebd92addfcb6168875351f5af2fab89be3730f (diff)
fix conditions relating to host_build in non-cross builds
when it comes to compiler flags (be it warnings or include paths), it doesn't matter whether we building/using bootstrap libraries, but whether we are actually cross-building. amends c55bdc271f and d8be8110a. Change-Id: Idf988107e9cccc486672c0ee70dc9bdf8eab9d8c Reviewed-by: Lars Knoll <>
Diffstat (limited to 'mkspecs/features/qt_common.prf')
1 files changed, 2 insertions, 2 deletions
diff --git a/mkspecs/features/qt_common.prf b/mkspecs/features/qt_common.prf
index de9ba9dde9..171b96f415 100644
--- a/mkspecs/features/qt_common.prf
+++ b/mkspecs/features/qt_common.prf
@@ -44,9 +44,9 @@ contains(TEMPLATE, .*lib) {
-# The remainder of this file must not apply to bootstrapped tools,
+# The remainder of this file must not apply to host tools/libraries,
# as the host compiler's version and capabilities are not checked.
-host_build:force_bootstrap: return()
+host_build:cross_compile: return()
warnings_are_errors:warning_clean {
# If the module declares that it has does its clean-up of warnings, enable -Werror.