2017-03-06 05:42:38 +00:00
|
|
|
# keep it all lowercase to match program naming convention on *nix systems
|
2014-11-23 18:57:45 +00:00
|
|
|
PROJECT_NAME = qbittorrent
|
2014-11-17 13:17:58 +00:00
|
|
|
|
|
|
|
# Define version numbers here
|
2017-11-20 00:41:28 +00:00
|
|
|
VER_MAJOR = 4
|
2018-05-03 20:29:59 +00:00
|
|
|
VER_MINOR = 2
|
2014-11-17 13:17:58 +00:00
|
|
|
VER_BUGFIX = 0
|
|
|
|
VER_BUILD = 0
|
2019-11-21 19:26:48 +00:00
|
|
|
VER_STATUS = RC # Should be empty for stable releases!
|
2014-11-17 13:17:58 +00: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 08:42:13 +00: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 13:35:25 +00:00
|
|
|
|
2017-10-09 14:56:45 +00:00
|
|
|
DEFINES += QBT_VERSION=\\\"v$${PROJECT_VERSION}\\\"
|
|
|
|
DEFINES += QBT_VERSION_2=\\\"$${PROJECT_VERSION}\\\"
|