Try avoid redefining LOC_REV.
--HG-- branch : develop
This commit is contained in:
parent
23a709e301
commit
186b427750
|
@ -551,14 +551,13 @@ CONFIG(debug, debug|release){
|
||||||
}
|
}
|
||||||
|
|
||||||
DEFINES += QT_NO_DEBUG_OUTPUT
|
DEFINES += QT_NO_DEBUG_OUTPUT
|
||||||
|
|
||||||
#local revision number for using in version
|
#local revision number for using in version
|
||||||
!system(hg) {
|
HG_REV=$$system(hg parents --template '{rev}')
|
||||||
DEFINES += "LOC_REV=0"
|
isEmpty(HG_REV){
|
||||||
}
|
HG_REV = 0
|
||||||
else
|
|
||||||
{
|
|
||||||
DEFINES += LOC_REV=$$system(hg parents --template '{rev}')
|
|
||||||
}
|
}
|
||||||
|
DEFINES += "LOC_REV=$${HG_REV}"
|
||||||
}
|
}
|
||||||
|
|
||||||
message(Qt version: $$[QT_VERSION])
|
message(Qt version: $$[QT_VERSION])
|
||||||
|
|
|
@ -490,4 +490,3 @@ QMAKE_DISTCLEAN += \
|
||||||
$${DESTDIR}/* \
|
$${DESTDIR}/* \
|
||||||
$${OBJECTS_DIR}/* \
|
$${OBJECTS_DIR}/* \
|
||||||
$${MOC_DIR}/*
|
$${MOC_DIR}/*
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user