aboutsummaryrefslogtreecommitdiffstats
path: root/qbs
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@qt.io>2017-07-25 09:03:08 +0200
committerKai Koehne <kai.koehne@qt.io>2017-07-25 09:05:43 +0000
commit68fe72e99abebd4602103b523b6c46eabaf3c667 (patch)
treefc7f5cda6425b4f51f021088a66ccac3dfd6e9fe /qbs
parent3ed88cda2f44ce97569f59c4d83dc930016af92b (diff)
Define COPYRIGHT_YEAR in build files
This allows us to use the copyright year also in the following patch that adds it as metadata to the windows executable. Ideally we'd unify IDE_YEAR and IDE_AUTHOR (because they're only used together anyway) but that would break translations. Change-Id: If0f84eaeb22e9ba71b2b29798324b76a91eda78f Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'qbs')
-rw-r--r--qbs/modules/qtc/qtc.qbs2
1 files changed, 2 insertions, 0 deletions
diff --git a/qbs/modules/qtc/qtc.qbs b/qbs/modules/qtc/qtc.qbs
index 1d9e0deac2..ab1c2aee8a 100644
--- a/qbs/modules/qtc/qtc.qbs
+++ b/qbs/modules/qtc/qtc.qbs
@@ -17,6 +17,8 @@ Module {
property string qtcreator_compat_version: ide_compat_version_major + '.'
+ ide_compat_version_minor + '.' + ide_compat_version_release
+ property string qtcreator_copyright_year: '2017'
+
property string libDirName: "lib"
property string ide_app_path: qbs.targetOS.contains("macos") ? "" : "bin"
property string ide_app_target: qbs.targetOS.contains("macos") ? "Qt Creator" : "qtcreator"