mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-12-13 13:06:26 +00:00
30 lines
681 B
Plaintext
30 lines
681 B
Plaintext
PROJECT_NAME = qbittorrent
|
|
|
|
# Define version numbers here
|
|
VER_MAJOR = 3
|
|
VER_MINOR = 4
|
|
VER_BUGFIX = 0
|
|
VER_BUILD = 0
|
|
VER_STATUS = alpha # 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 += VERSION_MAJOR=$${VER_MAJOR}
|
|
DEFINES += VERSION_MINOR=$${VER_MINOR}
|
|
DEFINES += VERSION_BUGFIX=$${VER_BUGFIX}
|
|
DEFINES += VERSION_BUILD=$${VER_BUILD}
|
|
|
|
os2 {
|
|
DEFINES += VERSION=\'\"v$${PROJECT_VERSION}\"\'
|
|
} else {
|
|
DEFINES += VERSION=\\\"v$${PROJECT_VERSION}\\\"
|
|
}
|
|
|