添加版本

This commit is contained in:
zhangsheng 2026-04-15 09:25:31 +08:00
parent 13510306d8
commit 5b17099174

View File

@ -124,7 +124,7 @@ MainWindow::MainWindow(QWidget *parent)
//qInstallMessageHandler(messageHandler); //qInstallMessageHandler(messageHandler);
#endif #endif
QDate buildDate = QLocale( QLocale::English ).toDate( QString(__DATE__).replace(" ", " 0"), "MMM dd yyyy"); QDate buildDate = QLocale( QLocale::English ).toDate( QString(__DATE__).replace(" ", " 0"), "MMM dd yyyy");
QString Version = "V1.0_" + buildDate.toString("yyyyMMdd") + "_e43f"; QString Version = "V1.0_" + buildDate.toString("yyyyMMdd") + "_1351";
ui->label_version->setText(Version); ui->label_version->setText(Version);
} }