--- Telegram/lib_base/base/platform/linux/base_info_linux.cpp 2020-06-03 09:28:30.000000000 +0200 +++ - 2020-06-08 00:40:30.503197310 +0200 @@ -13,7 +13,6 @@ #include #include #include -#include namespace Platform { namespace { @@ -84,8 +74,7 @@ return "Linux " + (list.isEmpty() ? QString() : list[0] + ' ') + (IsWayland() ? "Wayland " : "X11 ") - + "glibc " - + GetGlibCVersion(); + + "void "; } QString SystemCountry() { @@ -103,11 +92,7 @@ QDate WhenSystemBecomesOutdated() { if (IsLinux32Bit()) { return QDate(2020, 9, 1); - } else if (const auto version = GetGlibCVersion(); !version.isEmpty()) { - if (QVersionNumber::fromString(version) < QVersionNumber(2, 23)) { - return QDate(2020, 9, 1); // Older than Ubuntu 16.04. - } - } + } return QDate(); } @@ -129,14 +114,6 @@ } } -QString GetGlibCVersion() { - static const auto result = [&] { - const auto version = QString::fromLatin1(gnu_get_libc_version()); - return QVersionNumber::fromString(version).isNull() ? QString() : version; - }(); - return result; -} - bool IsWayland() { return QGuiApplication::platformName().startsWith("wayland", Qt::CaseInsensitive); }