From d212c179db318a20d74592b02dd57b9bb1b668ce Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Thu, 23 May 2019 12:44:07 +0200 Subject: [PATCH] Change default of optimize-debug to off for developer-builds Backtraces with optimize-debug are less useful due to scoped variables no longer alive, and some gcc bugs with inlining. Fixes: QTBUG-75514 Change-Id: I6d62441047daee8f7079d1538dfc92015dd7ea63 Reviewed-by: Kai Koehne Reviewed-by: Jarek Kobus --- configure.json | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.json b/configure.json index 9fce6d039e..cffef79a6a 100644 --- a/configure.json +++ b/configure.json @@ -639,6 +639,7 @@ }, "optimize_debug": { "label": "Optimize debug build", + "autoDetect": "!features.developer-build", "condition": "!config.msvc && !config.clang && (features.debug || features.debug_and_release) && tests.optimize_debug", "output": [ "privateConfig" ] },