path: root/src/testlib/qtestutil_macos_p.h
diff options
authorTor Arne Vestbø <>2020-01-31 18:19:14 +0100
committerTor Arne Vestbø <>2020-02-06 23:42:55 +0100
commit1a58e78db0e41da0423a50ffa900a6d90e83a0d5 (patch)
tree4cf89d6ec5b5df275b70fafcaf55ef1974f76803 /src/testlib/qtestutil_macos_p.h
parent19510abbffc433c2d6435e558047e55aa5800531 (diff)
testlib: Be more selective in choosing to show stacktraces on macOS
The built in crash reporter on macOS will by default not show the dialog if the application is not one that will run in the foreground. Change-Id: I0020520ae2f14a0e2f84fdca1d80ec6fe1247ffd Reviewed-by: Simon Hausmann <> Reviewed-by: Timur Pocheptsov <>
Diffstat (limited to 'src/testlib/qtestutil_macos_p.h')
1 files changed, 1 insertions, 0 deletions
diff --git a/src/testlib/qtestutil_macos_p.h b/src/testlib/qtestutil_macos_p.h
index 36f27167c0..c9a152dfdb 100644
--- a/src/testlib/qtestutil_macos_p.h
+++ b/src/testlib/qtestutil_macos_p.h
@@ -58,6 +58,7 @@ QT_BEGIN_NAMESPACE
namespace QTestPrivate {
void disableWindowRestore();
+ bool macCrashReporterWillShowDialog();
class AppNapDisabler