summaryrefslogtreecommitdiffstats
path: root/utils/rbutilqt/version.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils/rbutilqt/version.h')
-rw-r--r--utils/rbutilqt/version.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/utils/rbutilqt/version.h b/utils/rbutilqt/version.h
index b2d24d369b..1a1d78f643 100644
--- a/utils/rbutilqt/version.h
+++ b/utils/rbutilqt/version.h
@@ -18,6 +18,8 @@
*
****************************************************************************/
+#include "gitversion.h"
+
// PUREVERSION is needed to be able to just compare versions. It does not
// contain a build timestamp because it needs to be the same in different
// files
@@ -38,7 +40,7 @@
#define VERSIONSTRING(a, b, c) STR(a) "." STR(b) "." STR(c)
#define VERSION VERSIONSTRING(VERSION_MAJOR, VERSION_MINOR, VERSION_MICRO) BUILDID
// PUREVERSION should identify the build uniquely. Use version string for now.
-#define PUREVERSION "$Rev$"
+#define PUREVERSION GITHASH
-#define FULLVERSION VERSION " (" PUREVERSION "), built " __DATE__ " " __TIME__
+#define FULLVERSION VERSION " (" GITHASH "), built " __DATE__ " " __TIME__