From 478c3b3e0b19d0b9a97542a9b91ca5329fbd5425 Mon Sep 17 00:00:00 2001 From: Joe Date: Wed, 7 Jul 2021 00:26:03 -0400 Subject: [PATCH] Fix Backtrace define error for Windows --- src/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 29e93d49..bb6f946b 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -40,6 +40,7 @@ QQmlDebuggingEnabler enabler; #endif +#if !defined(Q_OS_WINDOWS) #if HAVE_BACKTRACE_SYMBOLS_FD #include #include @@ -92,6 +93,7 @@ registerSignalHandlers() std::signal(SIGABRT, &stacktraceHandler); } +#endif #else // No implementation for systems with no stacktrace support.