Sign crashpad_handler on macos when create a bundle.

This commit is contained in:
Roman Telezhynskyi 2024-03-29 14:29:05 +02:00
parent a892e74938
commit 291ac98c64
3 changed files with 18 additions and 0 deletions

View File

@ -218,6 +218,9 @@ VToolApp {
if (pdftops.pdftopsPresent)
apps.push("pdftops");
if (buildconfig.useConanPackages && buildconfig.conanCrashReportingEnabled)
apps.push("crashpad_handler");
return apps;
}
}

View File

@ -58,6 +58,18 @@ VToolApp {
conan.crashpad.binInstallDir: qbs.installPrefix + "/" + buildconfig.installBinaryPath
}
Properties {
condition: qbs.targetOS.contains("macos") && buildconfig.enableMultiBundle
macdeployqt.targetApps: {
var apps = [];
if (buildconfig.useConanPackages && buildconfig.conanCrashReportingEnabled)
apps.push("crashpad_handler");
return apps;
}
}
files: [
"main.cpp",
"tkmmainwindow.cpp",

View File

@ -243,6 +243,9 @@ VToolApp {
if (pdftops.pdftopsPresent)
apps.push("pdftops");
if (buildconfig.useConanPackages && buildconfig.conanCrashReportingEnabled)
apps.push("crashpad_handler");
return apps;
}
}