qBittorrent/version.pri

27 lines
756 B
Plaintext
Raw Normal View History

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