Bug fixes for macdeployqt module.

This commit is contained in:
Roman Telezhynskyi 2023-09-21 17:45:30 +03:00
parent 792817313a
commit 9dad93dcc3

View File

@ -28,9 +28,9 @@ Module {
property bool alwaysOverwrite: false property bool alwaysOverwrite: false
property bool appstoreCompliant: false property bool appstoreCompliant: false
property string libpath: undefined property stringList libpath: undefined
property stringList targetApps: undefined property stringList targetApps: undefined
@ -65,7 +65,7 @@ Module {
cmdArgs.push("-no-plugins"); cmdArgs.push("-no-plugins");
if (product.macdeployqt.verbose !== undefined) if (product.macdeployqt.verbose !== undefined)
cmdArgs.push("-verbose", product.macdeployqt.verbose); cmdArgs.push("-verbose=" + product.macdeployqt.verbose);
if (product.macdeployqt.noStrip) if (product.macdeployqt.noStrip)
cmdArgs.push("-no-strip"); cmdArgs.push("-no-strip");
@ -80,7 +80,9 @@ Module {
cmdArgs.push("-appstore-compliant"); cmdArgs.push("-appstore-compliant");
if (product.macdeployqt.libpath !== undefined) if (product.macdeployqt.libpath !== undefined)
cmdArgs.push("-libpath", product.macdeployqt.libpath); product.macdeployqt.libpath.forEach(function(libpath) {
cmdArgs.push("-libpath=" + libpath);
});
if (product.buildconfig.enableCodeSigning) { if (product.buildconfig.enableCodeSigning) {
if (product.macdeployqt.signForNotarization) if (product.macdeployqt.signForNotarization)