Skip to content

Commit e83eeb7

Browse files
authored
Remove scary warning from bundleEverything
1 parent de40d14 commit e83eeb7

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

tools/linuxdeployqt/main.cpp

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -191,11 +191,13 @@ int main(int argc, char **argv)
191191
// https://github.com/AppImage/appimage.github.io/search?q=GLIBC&unscoped_q=GLIBC&type=Issues
192192
const char *glcv = gnu_get_libc_version ();
193193
if(skipGlibcCheck) {
194-
qInfo() << "WARNING: Not checking glibc on the host system.";
195-
qInfo() << " The resulting AppDir or AppImage may not run on older systems.";
196-
qInfo() << " This mode is unsupported and discouraged.";
197-
qInfo() << " For more information, please see";
198-
qInfo() << " https://github.com/probonopd/linuxdeployqt/issues/340";
194+
if(! bundleEverything) {
195+
qInfo() << "WARNING: Not checking glibc on the host system.";
196+
qInfo() << " The resulting AppDir or AppImage may not run on older systems.";
197+
qInfo() << " This mode is unsupported and discouraged.";
198+
qInfo() << " For more information, please see";
199+
qInfo() << " https://github.com/probonopd/linuxdeployqt/issues/340";
200+
}
199201
} else {
200202
// openSUSE Leap 15.0 uses glibc 2.26 and is used on OBS
201203
// Ubuntu Xenial Xerus (16.04) uses glibc 2.23

0 commit comments

Comments
 (0)