mirror of
git://code.qt.io/qt/qt5.git
synced 2026-02-02 03:36:54 +08:00
Disable warnings from Swift backtrace on macOS 26
Many of the system tools seems to be written in Swift now, which results in a warning when running them: swift runtime: backtrace-on-crash is not supported for privileged executables Luckily we can silence this warning via 'warnings=suppressed'. See https://forums.swift.org/t/suppressing-backtrace-warnings/79235 Change-Id: I09b97553d996269fd4c9d23bf52a319bf964c833 Reviewed-by: Ville-Pekka Karhu <ville-pekka.karhu@qt.io>
This commit is contained in:
@@ -9,4 +9,4 @@ defaults write com.apple.CrashReporter DialogType server
|
||||
# shellcheck source=../common/unix/SetEnvVar.sh
|
||||
source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
|
||||
|
||||
SetEnvVar "SWIFT_BACKTRACE" "enable=yes,output-to=stderr,preset=medium,interactive=false"
|
||||
SetEnvVar "SWIFT_BACKTRACE" "enable=yes,output-to=stderr,preset=medium,interactive=false,warnings=suppressed"
|
||||
|
||||
Reference in New Issue
Block a user