Add Qt Runtime version to settings page

This commit is contained in:
Martín Fdez 2018-04-01 22:10:30 +02:00
parent fbe5ba8317
commit 4e6a4213ff
2 changed files with 3 additions and 1 deletions

View file

@ -173,6 +173,8 @@ int main(int argc, char *argv[])
engine.rootContext()->setContextProperty("mainApp", &app);
engine.rootContext()->setContextProperty("qtRuntimeVersion", qVersion());
// Exclude daemon manager from IOS
#ifndef Q_OS_IOS
DaemonManager * daemonManager = DaemonManager::instance(&arguments);

View file

@ -623,7 +623,7 @@ Rectangle {
Layout.topMargin: 8
font.pixelSize: 14
Layout.fillWidth: true
text: qsTr("GUI version: ") + Version.GUI_VERSION + translationManager.emptyString
text: qsTr("GUI version: ") + Version.GUI_VERSION + " (Qt " + qtRuntimeVersion + ")" + translationManager.emptyString
}
TextBlock {
id: guiMoneroVersion