From 619e19cf68e003953065e2f7359020e17c7b3d1a Mon Sep 17 00:00:00 2001 From: lupoDharkael Date: Sat, 6 Jan 2018 18:23:44 +0100 Subject: [PATCH] Fix version generation --- flameshot.pro | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flameshot.pro b/flameshot.pro index 585de50a..6a650edb 100644 --- a/flameshot.pro +++ b/flameshot.pro @@ -4,8 +4,8 @@ # #------------------------------------------------- -APP_VERSION = $$system(git --git-dir $$PWD/.git --work-tree $$PWD describe --always --tags) -DEFINES += APP_VERSION +TAG_VERSION = $$system(git --git-dir $$PWD/.git --work-tree $$PWD describe --always --tags) +DEFINES += APP_VERSION=\\\"$$TAG_VERSION\\\" QT += core gui