aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2018-01-15 12:52:32 +0100
committerEike Ziller <eike.ziller@qt.io>2018-01-16 10:53:46 +0000
commit61b5bbc8e92d0e81e542dcac69eb3b27fc62fb5b (patch)
tree45902cdf65df9d2c28a80ffc5783af36f15f7f95
parentd7409e01a7a0e89affe7bd483b98e921a62f4037 (diff)
Qbs build: Fix that copyright was not adapted in Info.plist
Change-Id: Ie5670a4a420f34dbef6cbb204063e8921eafd82b Reviewed-by: Jake Petroules <jake.petroules@qt.io>
-rw-r--r--qbs/modules/qtc/qtc.qbs1
-rw-r--r--src/app/app.qbs4
2 files changed, 5 insertions, 0 deletions
diff --git a/qbs/modules/qtc/qtc.qbs b/qbs/modules/qtc/qtc.qbs
index 4b4796e63a7..23acac180e1 100644
--- a/qbs/modules/qtc/qtc.qbs
+++ b/qbs/modules/qtc/qtc.qbs
@@ -18,6 +18,7 @@ Module {
+ ide_compat_version_minor + '.' + ide_compat_version_release
property string qtcreator_copyright_year: '2017'
+ property string qtcreator_copyright_string: "(C) " + qtcreator_copyright_year + " The Qt Company Ltd"
property string ide_display_name: 'Qt Creator'
property string ide_id: 'qtcreator'
diff --git a/src/app/app.qbs b/src/app/app.qbs
index 7d9b7ab91c4..9fcbd22099e 100644
--- a/src/app/app.qbs
+++ b/src/app/app.qbs
@@ -26,6 +26,10 @@ QtcProduct {
installSourceBase: isBundle ? buildDirectory : base
property bool qtcRunnable: true
+ bundle.infoPlist: ({
+ "NSHumanReadableCopyright": qtc.qtcreator_copyright_string
+ })
+
cpp.rpaths: qbs.targetOS.contains("macos") ? ["@executable_path/../Frameworks"]
: ["$ORIGIN/../" + qtc.libDirName + "/qtcreator"]
cpp.includePaths: [