添加版本

This commit is contained in:
zhangsheng 2026-03-31 18:12:19 +08:00
parent e43f61d648
commit 5c9a3f0bc5

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") + "_baf5"; QString Version = "V1.0_" + buildDate.toString("yyyyMMdd") + "_e43f";
ui->label_version->setText(Version); ui->label_version->setText(Version);
} }