2017-03-06 08:42:38 +03:00
|
|
|
# keep it all lowercase to match program naming convention on *nix systems
|
2014-11-23 21:57:45 +03:00
|
|
|
PROJECT_NAME = qbittorrent
|
2014-11-17 16:17:58 +03:00
|
|
|
|
|
|
|
# Define version numbers here
|
|
|
|
VER_MAJOR = 3
|
2015-11-30 01:16:49 +03:00
|
|
|
VER_MINOR = 4
|
2014-11-17 16:17:58 +03:00
|
|
|
VER_BUGFIX = 0
|
|
|
|
VER_BUILD = 0
|
2015-11-30 01:16:49 +03:00
|
|
|
VER_STATUS = alpha # Should be empty for stable releases!
|
2014-11-17 16:17:58 +03: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}
|
|
|
|
|
2017-03-03 11:42:13 +03:00
|
|
|
DEFINES += QBT_VERSION_MAJOR=$${VER_MAJOR}
|
|
|
|
DEFINES += QBT_VERSION_MINOR=$${VER_MINOR}
|
|
|
|
DEFINES += QBT_VERSION_BUGFIX=$${VER_BUGFIX}
|
|
|
|
DEFINES += QBT_VERSION_BUILD=$${VER_BUILD}
|
2011-06-18 17:35:25 +04:00
|
|
|
|
2010-11-20 20:21:40 +03:00
|
|
|
os2 {
|
2017-03-03 11:42:13 +03:00
|
|
|
DEFINES += QBT_VERSION=\'\"v$${PROJECT_VERSION}\"\'
|
2017-03-03 11:58:55 +03:00
|
|
|
DEFINES += QBT_VERSION_2=\'\"$${PROJECT_VERSION}\"\'
|
2017-03-03 11:42:13 +03:00
|
|
|
}
|
|
|
|
else {
|
|
|
|
DEFINES += QBT_VERSION=\\\"v$${PROJECT_VERSION}\\\"
|
2017-03-03 11:58:55 +03:00
|
|
|
DEFINES += QBT_VERSION_2=\\\"$${PROJECT_VERSION}\\\"
|
2010-11-20 20:21:40 +03:00
|
|
|
}
|