diff options
Diffstat (limited to 'src/app/main.cpp')
-rw-r--r-- | src/app/main.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/app/main.cpp b/src/app/main.cpp index a4ef3eea32..e17ef27e20 100644 --- a/src/app/main.cpp +++ b/src/app/main.cpp @@ -56,6 +56,8 @@ #include <QUrl> #include <QVariant> +#include <QSysInfo> + #include <QNetworkProxyFactory> #include <QApplication> @@ -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 |