aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2022-11-17 17:24:41 +0100
committerChristian Kandeler <christian.kandeler@qt.io>2022-11-17 17:24:41 +0100
commit08c8fd38b5175834800ecf5147cdc5ff32b0b112 (patch)
treebc059d71e0b61fc2c34759a135a2f81ca3bf138f
parent3cc4ae518df6b79e1b6cf3ef0becd08bb23bb12e (diff)
parentee7524998d6110d9b0cbe5fdf5fa960c8f0f33fc (diff)
Merge 1.24 into master
-rw-r--r--share/qbs/modules/bundle/BundleModule.qbs4
1 files changed, 3 insertions, 1 deletions
diff --git a/share/qbs/modules/bundle/BundleModule.qbs b/share/qbs/modules/bundle/BundleModule.qbs
index 7432161a4..d43be5116 100644
--- a/share/qbs/modules/bundle/BundleModule.qbs
+++ b/share/qbs/modules/bundle/BundleModule.qbs
@@ -778,8 +778,10 @@ Module {
if (bundleType === "application"
&& product.moduleProperty("qbs", "targetOS").contains("macos")) {
+ var bundlePath = FileInfo.joinPaths(
+ product.destinationDirectory, product.bundle.bundleName);
cmd = new Command(ModUtils.moduleProperty(product, "lsregisterPath"),
- ["-f", product.bundle.bundleName]);
+ ["-f", bundlePath]);
cmd.description = "registering " + ModUtils.moduleProperty(product, "bundleName");
commands.push(cmd);
}