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';
|
out << '\n';
|
||||||
else
|
else
|
||||||
out << "</p><p>";
|
out << "</p><p>";
|
||||||
|
#if (QT_VERSION >= QT_VERSION_CHECK(5, 4, 0))
|
||||||
out << toqstr(bformat(_("OS Version (run-time): %1$s"),
|
out << toqstr(bformat(_("OS Version (run-time): %1$s"),
|
||||||
qstring_to_ucs4(QSysInfo::prettyProductName())));
|
qstring_to_ucs4(QSysInfo::prettyProductName())));
|
||||||
if (plain)
|
if (plain)
|
||||||
out << '\n';
|
out << '\n';
|
||||||
else
|
else
|
||||||
out << "</p><p>";
|
out << "</p><p>";
|
||||||
|
#endif
|
||||||
out << toqstr(bformat(_("Python detected: %1$s"), from_utf8(os::python())));
|
out << toqstr(bformat(_("Python detected: %1$s"), from_utf8(os::python())));
|
||||||
if (!plain)
|
if (!plain)
|
||||||
out << toqstr("</p></body></html>");
|
out << toqstr("</p></body></html>");
|
||||||
|
Loading…
Reference in New Issue
Block a user