diff --git a/Software/src/SettingsWindow.cpp b/Software/src/SettingsWindow.cpp index 9d4ee42f3..3cab18442 100644 --- a/Software/src/SettingsWindow.cpp +++ b/Software/src/SettingsWindow.cpp @@ -2043,18 +2043,20 @@ void SettingsWindow::versionsUpdate() DEBUG_LOW_LEVEL << Q_FUNC_INFO; // use template to construct version string - QString versionsTemplate = tr("

software %1 (revision %2), firmware %3

"); + QString versionsTemplate = tr("

software %1 (rev %2, Qt %4), firmware %3

"); #ifdef GIT_REVISION versionsTemplate = versionsTemplate.arg( QApplication::applicationVersion(), GIT_REVISION, - fimwareVersion ); + fimwareVersion, + QT_VERSION_STR); #else versionsTemplate = versionsTemplate.arg( QApplication::applicationVersion(), "unknown", - fimwareVersion ); + fimwareVersion, + QT_VERSION_STR); versionsTemplate.remove(QRegExp(" \\([^()]+unknown[^()]+\\)")); #endif