Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
I am trying to deploy my QT application using linuxdeployqt in my Linux OS but i am getting this error:
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.
How can i solve this?
@ioanna Which Qt version do you use on which exact Linux distribution version?
Kali GNU/Linux Rolling
Linux version 5.4.0-kali3-amd64 (email@example.com) (gcc version 9.2.1 20200104 (Debian 9.2.1-22)) #1 SMP Debian 5.4.13-1kali1 (2020-01-20)
@ioanna Please don't post "About Qt Creator" dialog - it only says which Qt version was used to build Qt.
Check the Kit you are using - which Qt version is configured there?
@ioanna Also take a look at this: https://forum.qt.io/topic/100364/qt-linux-deployment/8
Qt 5.14.1 GGC 64bit
@ioanna Check the link above and try -unsupported-allow-new-glibc parameter
KH-219Design last edited by
@jsulm has already provided the relevant flag that should fix this. More discussion (for anyone curious about the rationale of the linuxdeployqt maintainers) can be found at https://github.com/probonopd/linuxdeployqt/issues/340