Follow-up for change a66ee4109e - guard Qt 5.4 code with version check

This commit is contained in:
Stephan Witt 2022-12-08 18:05:28 +01:00
parent b15cc19d72
commit deae5ea23a

View File

@ -294,12 +294,14 @@ static QString version(bool const plain = false)
out << '\n';
else
out << "</p><p>";
#if (QT_VERSION >= QT_VERSION_CHECK(5, 4, 0))
out << toqstr(bformat(_("OS Version (run-time): %1$s"),
qstring_to_ucs4(QSysInfo::prettyProductName())));
if (plain)
out << '\n';
else
out << "</p><p>";
#endif
out << toqstr(bformat(_("Python detected: %1$s"), from_utf8(os::python())));
if (!plain)
out << toqstr("</p></body></html>");