|
|
@ -40,6 +40,7 @@ |
|
|
|
QQmlDebuggingEnabler enabler; |
|
|
|
QQmlDebuggingEnabler enabler; |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if !defined(Q_OS_WINDOWS) |
|
|
|
#if HAVE_BACKTRACE_SYMBOLS_FD |
|
|
|
#if HAVE_BACKTRACE_SYMBOLS_FD |
|
|
|
#include <csignal> |
|
|
|
#include <csignal> |
|
|
|
#include <execinfo.h> |
|
|
|
#include <execinfo.h> |
|
|
@ -92,6 +93,7 @@ registerSignalHandlers() |
|
|
|
std::signal(SIGABRT, &stacktraceHandler); |
|
|
|
std::signal(SIGABRT, &stacktraceHandler); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif |
|
|
|
#else |
|
|
|
#else |
|
|
|
|
|
|
|
|
|
|
|
// No implementation for systems with no stacktrace support.
|
|
|
|
// No implementation for systems with no stacktrace support.
|
|
|
|