summaryrefslogtreecommitdiffstats
path: root/qmake-features
diff options
context:
space:
mode:
authorDominik Holland <dominik.holland@qt.io>2020-02-21 11:25:27 +0100
committerDominik Holland <dominik.holland@qt.io>2020-02-22 09:46:21 +0000
commit3059fc20afaefea7f7b265e35bf96ea0037929d8 (patch)
tree19013d03c563dcb866bceb2b7d6ee30d7ed1b00b /qmake-features
parentd3112e5d2281a9a8d77b7ca1c7dfc0d25cb88143 (diff)
Enable libbacktrace support for macos
Similar to windows, we always want to provide a good stacktrace on mac and enable the libbacktrace support for release binaries as well. Change-Id: I1f7585c749505035e55fd44e088340a493b265d9 Reviewed-by: Robert Griebl <robert.griebl@qt.io>
Diffstat (limited to 'qmake-features')
-rw-r--r--qmake-features/am-config.prf2
1 files changed, 1 insertions, 1 deletions
diff --git a/qmake-features/am-config.prf b/qmake-features/am-config.prf
index 01a98102..44622f3f 100644
--- a/qmake-features/am-config.prf
+++ b/qmake-features/am-config.prf
@@ -19,7 +19,7 @@ systemd-workaround:DEFINES *= AM_SYSTEMD_WORKAROUND
headless:DEFINES *= AM_HEADLESS
enable-widgets:DEFINES *= AM_ENABLE_WIDGETS
config_touchemulation:DEFINES += AM_ENABLE_TOUCH_EMULATION
-linux:!android:!disable-libbacktrace:if(enable-libbacktrace|CONFIG(debug, debug|release)):DEFINES *= AM_USE_LIBBACKTRACE
+!disable-libbacktrace:if(linux:!android:if(enable-libbacktrace|CONFIG(debug, debug|release))|macos): DEFINES *= AM_USE_LIBBACKTRACE
windows:msvc:!disable-stackwalker: DEFINES *= AM_USE_STACKWALKER
!force-single-process {