forked from qt-creator/qt-creator
Add Crashpad to Qt Creator and Qt Design Studio
Fixes: QDS-2748 Change-Id: I87e25682f066d167eebfd7b78c46c166e5062e11 Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
This commit is contained in:
@@ -482,6 +482,14 @@ QString ICore::libexecPath()
|
||||
return QDir::cleanPath(QApplication::applicationDirPath() + '/' + RELATIVE_LIBEXEC_PATH);
|
||||
}
|
||||
|
||||
QString ICore::crashReportsPath()
|
||||
{
|
||||
if (Utils::HostOsInfo::isMacHost())
|
||||
return libexecPath() + "/crashpad_reports/completed";
|
||||
else
|
||||
return libexecPath() + "/crashpad_reports/reports";
|
||||
}
|
||||
|
||||
static QString clangIncludePath(const QString &clangVersion)
|
||||
{
|
||||
return "/lib/clang/" + clangVersion + "/include";
|
||||
|
||||
Reference in New Issue
Block a user