mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
Follow-up for change a66ee4109e
- guard Qt 5.4 code with version check
This commit is contained in:
parent
b15cc19d72
commit
deae5ea23a
@ -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>");
|
||||
|
Loading…
Reference in New Issue
Block a user