Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to Create StandAlone App for Linux which include all required libs ?
RahibeMeryem last edited by
Is there a practical way to create standalone distributable linux application which include all libraries (Qt and non Qt) ?
linuxdeployqt tool gives error :
./linuxdeployqt-continuous-x86_64.AppImage -unsupported-allow-new-glibc linuxdeployqt 6 (commit e8148f3), build 671 built on 2019-03-30 18:35:26 UTC ERROR: The host system is too new. Please run on a system with a glibc version no newer than what comes with the oldest still-supported mainstream distribution, which currently is glibc 2.20. This is so that the resulting bundle will work on most still-supported Linux distributions. For more information, please see https://github.com/probonopd/linuxdeployqt/issues/340
The linked bug explains what happens, why it's so and how to run linuxdeployqt anyway if you know what you are currently doing.
tlhcelik last edited by
you can use following option.
linuxdeployqt myBuildFolder/ -appimage -unsupported-allow-new-glibc
gde23 last edited by
The problem when using the flag to ignore glibc version is that the application then wont run on systems, that have an older glibc version.
So what you should do, if you really want to make it working on (mostly) any linux system out there is to build the project on a system with an old glibc version.
If you just want to run it on your own machines where you know for sure, that you have a high enough version of glibc then you can just ignore the error.