aboutsummaryrefslogtreecommitdiffstats
path: root/src/app/app_version.h.in
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2020-03-19 16:02:44 +0100
committerEike Ziller <eike.ziller@qt.io>2020-03-23 07:14:27 +0000
commit9eceb46739803bb7482e9017cd79df92203ecbad (patch)
treea5225bc4dd9bec174a8636f88a6f3e805bd2c420 /src/app/app_version.h.in
parent549b2f60924aafdb9b3f22bdbcd7870afe3ae172 (diff)
Fix link on commit sha in about dialog
Passing a URL via defines breaks when trying to "stringify" it. It would always stop at the first slash. Instead use a qmake variable directly. That has the additional advantage that the value isn't passed on each and every compiler command line. Change-Id: I97a297fbcdee5ea03eb6fa08181c95b1ad2de767 Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Diffstat (limited to 'src/app/app_version.h.in')
-rw-r--r--src/app/app_version.h.in6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/app/app_version.h.in b/src/app/app_version.h.in
index 4682d282ef..7a525bf211 100644
--- a/src/app/app_version.h.in
+++ b/src/app/app_version.h.in
@@ -56,11 +56,7 @@ const char IDE_REVISION_STR[] = STRINGIFY(IDE_REVISION);
const char IDE_REVISION_STR[] = \"\";
#endif
-#ifdef IDE_REVISION_URL
-const char IDE_REVISION_URL_STR[] = STRINGIFY(IDE_REVISION_URL);
-#else
-const char IDE_REVISION_URL_STR[] = \"\";
-#endif
+const char IDE_REVISION_URL[] = \"$${IDE_REVISION_URL}\";
// changes the path where the settings are saved to
#ifdef IDE_SETTINGSVARIANT