path: root/config.tests/arch/
diff options
authorJoerg Bornemann <>2019-08-02 09:24:37 +0200
committerJoerg Bornemann <>2019-08-08 14:26:11 +0200
commit39e937a538325c4fc40a790496f2a39d28f8eba4 (patch)
tree29dd7bf03d1f5589ccb0c09aad28c1dd07d75065 /config.tests/arch/
parentaef0fba3c550915318db5b350892f558ec7e77ff (diff)
Fix host architecture detection for canadian cross builds
If the host architecture is different from -platform (canadian cross build with -external-hostbindir) then we cannot use QMAKE_HOST.os to deduce the executable extension for that platform, because this value comes from the qmake binary that was pointed to by -external-hostbindir. Move the target name deduction mechanism to the actual configure test .pro files to make sure the right scopes are available, and write the deduced target name to a text file. That text file is read by qtConfTest_architecture to get the right binary to analyze. Fixes: QTBUG-77286 Change-Id: I68b844dd51dbfda6432a4b0dca6331899c82255f Reviewed-by: Kai Koehne <>
Diffstat (limited to 'config.tests/arch/')
1 files changed, 1 insertions, 0 deletions
diff --git a/config.tests/arch/ b/config.tests/arch/
index cefdbc77ef..ea0d1fa572 100644
--- a/config.tests/arch/
+++ b/config.tests/arch/
@@ -1,2 +1,3 @@
SOURCES = arch.cpp