From c3f54cedb1fc2805eb21b2499514284941445e85 Mon Sep 17 00:00:00 2001 From: Kari Oikarinen Date: Fri, 13 Jan 2017 15:24:46 +0200 Subject: Set manual version number rather than using git The `git describe` automation introduced in db61153547cb8aafaf374f43932047ea400bd482 is not helpful, since Coin does not build from git checkouts. Change-Id: I1221540b4ede402156f568b6e858f05a0e5d982b Reviewed-by: Samuli Piippo --- version.pri | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/version.pri b/version.pri index 9784944..f6cb7b9 100644 --- a/version.pri +++ b/version.pri @@ -1,8 +1 @@ -unix:system(which git): HAS_GIT = TRUE -win32:system(where git.exe): HAS_GIT = TRUE -contains(HAS_GIT, TRUE) { - GIT_VERSION = $$system(git describe --always --dirty --long --tags) -} -isEmpty(GIT_VERSION): GIT_VERSION = "(unknown version)" - -DEFINES += "QDB_VERSION=\\\"$$GIT_VERSION\\\"" +DEFINES += QDB_VERSION=\\\"1.0.0\\\" -- cgit v1.2.3