Added backtrace attributes for Qt version and platform

This commit is contained in:
Klaus Basan
2019-03-05 22:27:47 +01:00
committed by Mat Sutcliffe
parent f080f0bb86
commit 94513951e1

View File

@@ -1669,9 +1669,11 @@ namespace BlackCore
std::map<std::string, std::string> annotations; std::map<std::string, std::string> annotations;
// Backtrace annotations // Backtrace annotations
annotations["token"] = "b15efd93e290be3cf5d39750cadc092b651327ff0c027b80abd75e0ee50df1da"; annotations["token"] = "b15efd93e290be3cf5d39750cadc092b651327ff0c027b80abd75e0ee50df1da";
annotations["format"] = "minidump"; annotations["format"] = "minidump";
annotations["version"] = CBuildConfig::getVersionString().toStdString(); annotations["version"] = CBuildConfig::getVersionString().toStdString();
annotations["platform"] = CBuildConfig::getPlatformString().toStdString();
annotations["qtversion"] = QT_VERSION_STR;
// add our logfile // add our logfile
const QString logFilePath = m_fileLogger->getLogFilePath(); // file and path const QString logFilePath = m_fileLogger->getLogFilePath(); // file and path