Add version generation and display
The control center version includes versions of the bundled ndn-cxx,
NFD, and ndn-tools. The implementation is a bit hacky and most of the
the logic should be moved to the build script eventually.
Change-Id: Ie5f33c62f5e35a6a727c038ca0a3e03385dbd7db
diff --git a/src/main.qml b/src/main.qml
index b051c6c..eaa3b3a 100644
--- a/src/main.qml
+++ b/src/main.qml
@@ -91,6 +91,19 @@
}
}
}
+ GridLayout {
+ anchors.left: parent.left
+ anchors.bottom: parent.bottom
+ Label {
+ text: "NFD Control Center version:"
+ font.pixelSize: 10
+ }
+ Label {
+ text: nccVersion
+ font.pixelSize: 10
+ font.bold: true
+ }
+ }
}
}
// Tab {