mirror of
https://github.com/overte-org/overte.git
synced 2025-04-26 01:16:35 +02:00
* Make it clear in cmake if crash reporting is going to be used * Log warning on startup if there's no crash reporting
34 lines
725 B
C++
34 lines
725 B
C++
//
|
|
// CrashHandler_None.cpp
|
|
// interface/src
|
|
//
|
|
// Created by Clement Brisset on 01/19/18.
|
|
// Copyright 2018 High Fidelity, Inc.
|
|
//
|
|
// Distributed under the Apache License, Version 2.0.
|
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
|
//
|
|
|
|
#if !defined(HAS_CRASHPAD) && !defined(HAS_BREAKPAD)
|
|
|
|
#include "CrashHandler.h"
|
|
|
|
#include <assert.h>
|
|
|
|
#include <QDebug>
|
|
|
|
|
|
Q_LOGGING_CATEGORY(crash_handler, "vircadia.crash_handler")
|
|
|
|
bool startCrashHandler(std::string appPath) {
|
|
qCWarning(crash_handler) << "No crash handler available.";
|
|
return false;
|
|
}
|
|
|
|
void setCrashAnnotation(std::string name, std::string value) {
|
|
}
|
|
|
|
void startCrashHookMonitor(QCoreApplication* app) {
|
|
}
|
|
|
|
#endif
|