aboutsummaryrefslogtreecommitdiffstats
path: root/src/app/app.qbs
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/app.qbs')
-rw-r--r--src/app/app.qbs7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/app/app.qbs b/src/app/app.qbs
index b67ff28a2c..d0c2885c46 100644
--- a/src/app/app.qbs
+++ b/src/app/app.qbs
@@ -20,9 +20,10 @@ QtcProduct {
targetName: qtc.ide_app_target
version: qtc.qtcreator_version
- installDir: bundle.isBundle ? qtc.ide_app_path : qtc.ide_bin_path
- installTags: bundle.isBundle ? ["bundle.content"] : base
- installSourceBase: bundle.isBundle ? buildDirectory : base
+ property bool isBundle: qbs.targetOS.contains("darwin") && bundle.isBundle
+ installDir: isBundle ? qtc.ide_app_path : qtc.ide_bin_path
+ installTags: isBundle ? ["bundle.content"] : base
+ installSourceBase: isBundle ? buildDirectory : base
property bool qtcRunnable: true
cpp.rpaths: qbs.targetOS.contains("macos") ? ["@executable_path/../Frameworks"]