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
|
||||
|
||||
#local revision number for using in version
|
||||
!system(hg) {
|
||||
DEFINES += "LOC_REV=0"
|
||||
}
|
||||
else
|
||||
{
|
||||
DEFINES += LOC_REV=$$system(hg parents --template '{rev}')
|
||||
HG_REV=$$system(hg parents --template '{rev}')
|
||||
isEmpty(HG_REV){
|
||||
HG_REV = 0
|
||||
}
|
||||
DEFINES += "LOC_REV=$${HG_REV}"
|
||||
}
|
||||
|
||||
message(Qt version: $$[QT_VERSION])
|
||||
|
|
|
@ -490,4 +490,3 @@ QMAKE_DISTCLEAN += \
|
|||
$${DESTDIR}/* \
|
||||
$${OBJECTS_DIR}/* \
|
||||
$${MOC_DIR}/*
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user