实现获取版本号显示。

This commit is contained in:
luocai
2024-08-16 11:34:21 +08:00
parent a2a79ac084
commit bdc7711bbb
7 changed files with 56 additions and 5 deletions

View File

@ -10,6 +10,16 @@ Item {
ColumnLayout {
anchors.fill: parent
ConnectionItem {}
Column {
Text{
width: 50
text: "烧录版本: "+ (App.module!==null? App.module.verison:"")
}
Text{
width: 50
text: "OTA版本: "+(App.module!==null?App.module.otaVerison:"")
}
}
GroupBox {
id: commandBox

View File

@ -5,7 +5,7 @@ import Analyser
Window {
width: 1120
height: 700
height: 770
visible: true
title: qsTr(Qt.application.name + " " + Qt.application.version)