diff options
Diffstat (limited to 'src/WhatsApp.pro')
-rw-r--r-- | src/WhatsApp.pro | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/WhatsApp.pro b/src/WhatsApp.pro index 8081769..1504a6f 100644 --- a/src/WhatsApp.pro +++ b/src/WhatsApp.pro @@ -39,13 +39,10 @@ DEFINES += QT_DEPRECATED_WARNINGS CONFIG(release, debug|release):DEFINES += QT_NO_DEBUG_OUTPUT # Define git info -exists(${QMAKE_FILE_PATH}/../.git) { - GIT_HASH="\\\"$$system(git -C \""$$_PRO_FILE_PWD_"\" rev-parse --short HEAD)\\\"" - GIT_BRANCH="\\\"$$system(git -C \""$$_PRO_FILE_PWD_"\" rev-parse --abbrev-ref HEAD)\\\"" - BUILD_TIMESTAMP="\\\"$$system(date -u +\""%Y-%m-%dT%H:%M:%SUTC\"")\\\"" - DEFINES += GIT_HASH=$$GIT_HASH GIT_BRANCH=$$GIT_BRANCH BUILD_TIMESTAMP=$$BUILD_TIMESTAMP -} - +GIT_HASH="\\\"$$system(git -C \""$$_PRO_FILE_PWD_"\" rev-parse --short HEAD)\\\"" +GIT_BRANCH="\\\"$$system(git -C \""$$_PRO_FILE_PWD_"\" rev-parse --abbrev-ref HEAD)\\\"" +BUILD_TIMESTAMP="\\\"$$system(date -u +\""%Y-%m-%dT%H:%M:%SUTC\"")\\\"" +DEFINES += GIT_HASH=$$GIT_HASH GIT_BRANCH=$$GIT_BRANCH BUILD_TIMESTAMP=$$BUILD_TIMESTAMP # Set program version VERSION = 4.4 @@ -84,6 +81,7 @@ HEADERS += \ autolockeventfilter.h \ automatictheme.h \ common.h \ + def.h \ dictionaries.h \ downloadmanagerwidget.h \ downloadwidget.h \ |