mirror of
https://github.com/jaredtao/TaoQuick.git
synced 2025-01-31 21:22:58 +08:00
update for build error
This commit is contained in:
parent
c487706175
commit
b8bd251e15
Binary file not shown.
@ -4,7 +4,7 @@
|
||||
|
||||
#include <QTranslator>
|
||||
#include <QQmlEngine>
|
||||
#include <QCoreApplication>
|
||||
#include <QGuiApplication>
|
||||
#include <QDir>
|
||||
#include <QJsonDocument>
|
||||
#include <QQuickItem>
|
||||
|
@ -8,7 +8,7 @@
|
||||
#define RELEASE_VER_MAIN TaoMAJ
|
||||
#define RELEASE_VER_MAIN2 TaoMIN
|
||||
#define RELEASE_VER_SUB TaoPAT
|
||||
|
||||
#define RELEASE_VER_BUILD REVISION
|
||||
#define VER_COMPANYNAME_STR "JaredTao\0"
|
||||
|
||||
#define VER_FILEDESCRIPTION_STR "TaoQuickDemo,未经授权不得商用,侵权必究\0"
|
||||
|
@ -3,7 +3,12 @@ TAO_VERSION_TAG = 1.0
|
||||
# current commit hash
|
||||
REVISION=$$system("git rev-parse HEAD")
|
||||
REVISION=$$str_member($${REVISION}, 0, $$num_add(10, -1))
|
||||
|
||||
isEmpty(REVISION) {
|
||||
REVISION = 0000000000
|
||||
}
|
||||
isEmpty(Ver) {
|
||||
Ver=0.0.0
|
||||
}
|
||||
# last tag
|
||||
Ver=$$system("git describe --abbrev=0 --tags")
|
||||
VerList =$$split(Ver, .)
|
||||
|
Loading…
x
Reference in New Issue
Block a user