aboutsummaryrefslogtreecommitdiffstats
path: root/src/app/app_version_header.qbs
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/app_version_header.qbs')
-rw-r--r--src/app/app_version_header.qbs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/app/app_version_header.qbs b/src/app/app_version_header.qbs
index e6903d6cc5..fd55ba00c5 100644
--- a/src/app/app_version_header.qbs
+++ b/src/app/app_version_header.qbs
@@ -42,8 +42,8 @@ Product {
+ product.moduleProperty("qtc", "ide_version_minor") + "\n");
content = content.replace(/(\n#define IDE_VERSION_RELEASE) .+\n/, "$1 "
+ product.moduleProperty("qtc", "ide_version_release") + "\n");
- content = content.replace(/(\n#define IDE_COPYRIGHT_YEAR) .+\n/, "$1 "
- + product.moduleProperty("qtc", "qtcreator_copyright_year") + "\n");
+ content = content.replace("$${QTCREATOR_COPYRIGHT_YEAR}",
+ product.moduleProperty("qtc", "qtcreator_copyright_year"));
file = new TextFile(output.filePath, TextFile.WriteOnly);
file.truncate();
file.write(content);