aboutsummaryrefslogtreecommitdiffstats
path: root/src/app/app_version.h.in
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 /src/app/app_version.h.in
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 'src/app/app_version.h.in')
-rw-r--r--src/app/app_version.h.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app/app_version.h.in b/src/app/app_version.h.in
index 19bff44d49..97fd0735a4 100644
--- a/src/app/app_version.h.in
+++ b/src/app/app_version.h.in
@@ -42,7 +42,7 @@ namespace Constants {
const char * const IDE_VERSION_LONG = IDE_VERSION_STR;
const char * const IDE_VERSION_DISPLAY = STRINGIFY(IDE_VERSION_DISPLAY_DEF);
const char * const IDE_AUTHOR = \"The Qt Company Ltd\";
-const char * const IDE_YEAR = \"2017\";
+const char * const IDE_YEAR = \"$${QTCREATOR_COPYRIGHT_YEAR}\";
#ifdef IDE_REVISION
const char * const IDE_REVISION_STR = STRINGIFY(IDE_REVISION);