Added build hash and branch to about dialog

This commit is contained in:
Xian Nox
2013-12-18 11:03:01 +01:00
parent b3c36d0de7
commit 8cec4e1549
2 changed files with 9 additions and 0 deletions

View File

@@ -90,6 +90,11 @@ TRANSLATIONS += \
VERSION = \\\"'0.2.5'\\\"
unix {
DEFINES += "BUILD_HASH=\"\\\"$$system(git rev-parse --short HEAD)\\\"\""
DEFINES += "BUILD_BRANCH=\"\\\"$$system(git rev-parse --abbrev-ref HEAD)\\\"\""
}
DEFINES += "QCMA_VER=$${VERSION}"
unix {