]> git.lyx.org Git - features.git/commitdiff
Follow-up for change a66ee4109e - guard Qt 5.4 code with version check
authorStephan Witt <switt@lyx.org>
Thu, 8 Dec 2022 17:05:28 +0000 (18:05 +0100)
committerStephan Witt <switt@lyx.org>
Thu, 8 Dec 2022 17:05:37 +0000 (18:05 +0100)
src/frontends/qt/GuiAbout.cpp

index 16f8be4298a17429371c67045aa2373817ba9c4f..35375c969c4819cd39cb0a66eda2faeccd44bc7b 100644 (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>");