mirror of
https://github.com/Qv2ray/Qv2ray.git
synced 2025-05-20 10:50:23 +08:00
[change] Changed Qv2ray.pro condition check
This commit is contained in:
parent
344bba9427
commit
520c04eae7
@ -1 +1 @@
|
|||||||
2401
|
2404
|
||||||
|
@ -13,11 +13,11 @@ TEMPLATE = app
|
|||||||
_BUILD_NUMBER=$$cat(Build.Counter)
|
_BUILD_NUMBER=$$cat(Build.Counter)
|
||||||
VERSION = 1.99.3.$$_BUILD_NUMBER
|
VERSION = 1.99.3.$$_BUILD_NUMBER
|
||||||
|
|
||||||
!no_increase_build_number {
|
no_increase_build_number {
|
||||||
|
message("Build.Counter will not be increased")
|
||||||
|
} else {
|
||||||
_BUILD_NUMBER = $$num_add($$_BUILD_NUMBER, 1)
|
_BUILD_NUMBER = $$num_add($$_BUILD_NUMBER, 1)
|
||||||
write_file("Build.Counter", _BUILD_NUMBER)
|
write_file("Build.Counter", _BUILD_NUMBER)
|
||||||
} else {
|
|
||||||
message("Build.Counter will not be increased")
|
|
||||||
}
|
}
|
||||||
|
|
||||||
DEFINES += QT_DEPRECATED_WARNINGS QV2RAY_VERSION_STRING=\"\\\"v$${VERSION}\\\"\" QAPPLICATION_CLASS=QApplication
|
DEFINES += QT_DEPRECATED_WARNINGS QV2RAY_VERSION_STRING=\"\\\"v$${VERSION}\\\"\" QAPPLICATION_CLASS=QApplication
|
||||||
|
Loading…
Reference in New Issue
Block a user