summaryrefslogtreecommitdiff
path: root/src/app/app_version.h.in
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2018-01-09 16:44:30 +0100
committerEike Ziller <eike.ziller@qt.io>2018-01-10 08:45:59 +0000
commit699dd2c426cb43060e0036f923927cc82c57ddef (patch)
tree0b51570cce3de63ecd320b1aca59223e1cf3984a /src/app/app_version.h.in
parent8d523f1900d0701763ce7addf13fc5dfaabbc528 (diff)
downloadqt-creator-699dd2c426cb43060e0036f923927cc82c57ddef.tar.gz
Make IDE name and ids configurable at build time
Make it unnecessary to hack app_version.h.in for that. Change-Id: Ibc3bf332916ab9f293b6782d3b5a40078dbd7bcb Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Diffstat (limited to 'src/app/app_version.h.in')
-rw-r--r--src/app/app_version.h.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/app/app_version.h.in b/src/app/app_version.h.in
index 2c31ce0e16..547beaf9f2 100644
--- a/src/app/app_version.h.in
+++ b/src/app/app_version.h.in
@@ -31,9 +31,9 @@ namespace Constants {
#define STRINGIFY_INTERNAL(x) #x
#define STRINGIFY(x) STRINGIFY_INTERNAL(x)
-const char IDE_DISPLAY_NAME[] = \"Qt Creator\";
-const char IDE_ID[] = \"qtcreator\";
-const char IDE_CASED_ID[] = \"QtCreator\";
+const char IDE_DISPLAY_NAME[] = \"$${IDE_DISPLAY_NAME}\";
+const char IDE_ID[] = \"$${IDE_ID}\";
+const char IDE_CASED_ID[] = \"$${IDE_CASED_ID}\";
#define IDE_VERSION $${QTCREATOR_VERSION}
#define IDE_VERSION_STR STRINGIFY(IDE_VERSION)