blob: 3eed1cb5bbcc9b3bde46f97f7a3cf6b921af0844 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--- src/src.pro 2011-01-11 09:27:21.530166986 +0100
+++ src/src.pro 2011-01-11 09:30:55.743128934 +0100
@@ -7,10 +7,7 @@
APR_INCLUDE = /usr/include/apr-1
exists(local-config.pri):include(local-config.pri)
-VERSION = $$system(git --no-pager show --pretty=oneline --no-notes | head -1 | cut -b-40)
- !isEmpty(VERSION){
- VERSION = $${VERSION}
- }
+VERSION = "1.0.8"
VERSTR = '\\"$${VERSION}\\"' # place quotes around the version string
DEFINES += VER=\"$${VERSTR}\" # create a VER macro containing the version string
|