update src/main.cpp.

Signed-off-by: shenmo <jifengshenmo@outlook.com>
This commit is contained in:
shenmo 2023-01-06 09:24:19 +00:00 committed by Gitee
parent 199700495c
commit ecfa9a166d
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

@ -15,7 +15,7 @@ DWIDGET_USE_NAMESPACE
int main(int argc, char *argv[])
{
// Get build time
static const QString version = "4.1.2~test2";
static const QString version = "4.1.2";
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");