区分版本号,新改动转给412t2

This commit is contained in:
2023-01-05 14:49:23 +08:00
parent 8ba377cf0b
commit 385803754f
5 changed files with 65 additions and 41 deletions

View File

@@ -15,7 +15,7 @@ DWIDGET_USE_NAMESPACE
int main(int argc, char *argv[])
{
// Get build time
static const QString version = "4.1.2~test1";
static const QString version = "4.1.2~test2";
static const QDate buildDate = QLocale(QLocale::English).toDate(QString(__DATE__).replace(" ", " 0"), "MMM dd yyyy");
static const QTime buildTime = QTime::fromString(__TIME__, "hh:mm:ss");
static const QString buildDateTime = buildDate.toString("yyyy.MM.dd") + "-" + buildTime.toString("hh:mm:ss");