blob: e59547ca6c94746d9824667e3f8925356a1848cd (
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.4"
VERSTR = '\\"$${VERSION}\\"' # place quotes around the version string
DEFINES += VER=\"$${VERSTR}\" # create a VER macro containing the version string
|