diff --git a/src/app/main.cpp b/src/app/main.cpp index a4ef3eea329..e17ef27e209 100644 --- a/src/app/main.cpp +++ b/src/app/main.cpp @@ -56,6 +56,8 @@ #include #include +#include + #include #include @@ -410,6 +412,11 @@ QStringList lastSessionArgument() #ifdef ENABLE_CRASHPAD bool startCrashpad(const QString &libexecPath, bool crashReportingEnabled) { + if (QSysInfo::currentCpuArchitecture() == "arm64") { + qDebug() << "The crashpad_handler binary does not work on arm64 properly. So it is disabled for now."; + return false; + } + using namespace crashpad; // Cache directory that will store crashpad information and minidumps