From: Stephan Witt Date: Thu, 8 Dec 2022 17:05:28 +0000 (+0100) Subject: Follow-up for change a66ee4109e - guard Qt 5.4 code with version check X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=deae5ea23a507b9560278382f89c4219d38b7245;p=features.git Follow-up for change a66ee4109e - guard Qt 5.4 code with version check --- diff --git a/src/frontends/qt/GuiAbout.cpp b/src/frontends/qt/GuiAbout.cpp index 16f8be4298..35375c969c 100644 --- a/src/frontends/qt/GuiAbout.cpp +++ b/src/frontends/qt/GuiAbout.cpp @@ -294,12 +294,14 @@ static QString version(bool const plain = false) out << '\n'; else out << "

"; +#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 << "

"; +#endif out << toqstr(bformat(_("Python detected: %1$s"), from_utf8(os::python()))); if (!plain) out << toqstr("

");