Some work about adaptive color scheme for Web UI (PR #19901)
http://[316:c51a:62a3:8b9::4]/d4708/qBittorrent/src/branch/adaptive-webui
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
958 B
27 lines
958 B
# keep it all lowercase to match program naming convention on *nix systems |
|
PROJECT_NAME = qbittorrent |
|
|
|
# Define version numbers here |
|
VER_MAJOR = 4 |
|
VER_MINOR = 4 |
|
VER_BUGFIX = 0 |
|
VER_BUILD = 0 |
|
VER_STATUS = alpha1 # 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} |
|
|
|
# Generate version header |
|
versionHeader = $$cat(src/base/version.h.in, blob) |
|
versionHeader = $$replace(versionHeader, "@VER_MAJOR@", $$VER_MAJOR) |
|
versionHeader = $$replace(versionHeader, "@VER_MINOR@", $$VER_MINOR) |
|
versionHeader = $$replace(versionHeader, "@VER_BUGFIX@", $$VER_BUGFIX) |
|
versionHeader = $$replace(versionHeader, "@VER_BUILD@", $$VER_BUILD) |
|
versionHeader = $$replace(versionHeader, "@PROJECT_VERSION@", $$PROJECT_VERSION) |
|
write_file(src/base/version.h, versionHeader)
|
|
|