From 1bb6779389980d794bac92ca0fef63f3549a93b4 Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Mon, 2 Nov 2020 15:26:24 +0100 Subject: CMake: Let configure guess the compiler from mkspec argument The arguments -platform, -xplatform and -device determine the mkspec that's used for the qmake companion files. If the user specifies a mkspec that indicates usage of clang or icc, set the respective CMake variables to use one of those compilers. Fixes: QTBUG-87836 Change-Id: I2b10d819b0eb92a97d7f79672547b1e2d821cf33 Reviewed-by: Alexandru Croitor --- config_help.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'config_help.txt') diff --git a/config_help.txt b/config_help.txt index e790c61e7d..1d4c73ec95 100644 --- a/config_help.txt +++ b/config_help.txt @@ -90,6 +90,8 @@ Build options: CMake instead of auto-detecting one. -cmake-use-default-generator ... Turn off auto-detection of the CMake build system generator. + -no-guess-compiler ... Do not guess the compiler from the target mkspec. + Only applies to the CMake build. -release ............. Build Qt with debugging turned off [yes] -debug ............... Build Qt with debugging turned on [no] -debug-and-release ... Build two versions of Qt, with and without -- cgit v1.2.3