diff --git a/main.cpp b/main.cpp index c03b1605..33aeddd8 100644 --- a/main.cpp +++ b/main.cpp @@ -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); diff --git a/pages/Settings.qml b/pages/Settings.qml index abfc0e05..980f3769 100644 --- a/pages/Settings.qml +++ b/pages/Settings.qml @@ -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