Browse Source

modify:适用于1804及以上

master
tianzhendong 2 years ago
parent
commit
5fea3c86e9
  1. 4
      tools/linuxdeployqt/main.cpp

4
tools/linuxdeployqt/main.cpp

@ -200,7 +200,7 @@ int main(int argc, char **argv)
// openSUSE Leap 15.0 uses glibc 2.26 and is used on OBS
// Ubuntu Xenial (16.04) uses glibc 2.23
// Ubuntu Bionic (18.04) uses glibc 2.27
if (strverscmp (glcv, "2.28") >= 0) {
/* if (strverscmp (glcv, "2.28") >= 0) {
qInfo() << "ERROR: The host system is too new.";
qInfo() << "Please run on a system with a glibc version no newer than what comes with the oldest";
qInfo() << "currently still-supported mainstream distribution (Ubuntu Bionic), which is glibc 2.27.";
@ -208,7 +208,7 @@ int main(int argc, char **argv)
qInfo() << "For more information, please see";
qInfo() << "https://github.com/probonopd/linuxdeployqt/issues/340";
return 1;
}
}*/
}
if (argc < 2 || (firstArgument.startsWith("-"))) {

Loading…
Cancel
Save