path: root/
diff options
authorAndras Becsi <>2013-09-28 03:24:07 +0200
committerThe Qt Project <>2013-10-01 13:11:57 +0200
commit45a5c006d12c38d17f5605c2f975a7eabda7456f (patch)
treea038368ae7292d7a7f9d459ea37caa1e1520502a /
parent8608404f7991b910381e7b402f80b502177f4d6a (diff)
Allow overriding target compiler and linker with qmake's one
Using make_global_settings, we can pass along the compiler and linker that qmake uses, still allowing overriding it through environment variables. We generate qmake_extras.gypi and populated with the host and target compilers so that it also works when cross compiling. Based on patch by Pierre Rossi <> Change-Id: Ia3789abeea88f4d3cde75c2cf07cc9de66d7afbf Reviewed-by: Zeno Albisser <>
Diffstat (limited to '')
1 files changed, 2 insertions, 1 deletions
diff --git a/ b/
index ce0098c55..5a54df17e 100644
--- a/
+++ b/
@@ -4,7 +4,8 @@ CONFIG += ordered
# The first three subdirs contain dummy .pro files that are used by qmake
# to generate a corresponding .gyp file
-SUBDIRS = resources \
+SUBDIRS = build/qmake_extras \ # Phony pro file that extracts things like compiler and linker from qmake
+ resources \
shared \
lib \
process \