2014-11-24 02:57:45 +08:00
|
|
|
PROJECT_NAME = qbittorrent
|
2014-11-17 21:17:58 +08:00
|
|
|
|
|
|
|
# Define version numbers here
|
|
|
|
VER_MAJOR = 3
|
2015-05-14 04:33:22 +08:00
|
|
|
VER_MINOR = 3
|
2014-11-17 21:17:58 +08:00
|
|
|
VER_BUGFIX = 0
|
|
|
|
VER_BUILD = 0
|
2015-05-14 04:33:22 +08:00
|
|
|
VER_STATUS = alpha # Should be empty for stable releases!
|
2014-11-17 21:17:58 +08:00
|
|
|
|
|
|
|
# Don't touch the rest part
|
|
|
|
PROJECT_VERSION = $${VER_MAJOR}.$${VER_MINOR}.$${VER_BUGFIX}
|
|
|
|
|
|
|
|
!equals(VER_BUILD, 0) {
|
|
|
|
PROJECT_VERSION = $${PROJECT_VERSION}.$${VER_BUILD}
|
|
|
|
}
|
|
|
|
|
|
|
|
PROJECT_VERSION = $${PROJECT_VERSION}$${VER_STATUS}
|
|
|
|
|
|
|
|
DEFINES += VERSION_MAJOR=$${VER_MAJOR}
|
|
|
|
DEFINES += VERSION_MINOR=$${VER_MINOR}
|
|
|
|
DEFINES += VERSION_BUGFIX=$${VER_BUGFIX}
|
|
|
|
DEFINES += VERSION_BUILD=$${VER_BUILD}
|
2011-06-18 21:35:25 +08:00
|
|
|
|
2010-11-21 01:21:40 +08:00
|
|
|
os2 {
|
2011-06-18 22:32:13 +08:00
|
|
|
DEFINES += VERSION=\'\"v$${PROJECT_VERSION}\"\'
|
2010-11-21 01:21:40 +08:00
|
|
|
} else {
|
2011-06-18 22:32:13 +08:00
|
|
|
DEFINES += VERSION=\\\"v$${PROJECT_VERSION}\\\"
|
2010-11-21 01:21:40 +08:00
|
|
|
}
|
2011-06-18 21:35:25 +08:00
|
|
|
|