首页 > 解决方案 > 使用源代码和 linuxdeployqt 创建 appimage

问题描述

我试图为我的 Linux 系统创建一个 appimage。使用 qt-creator 我已经完成了编程并成功运行了应用程序。但是当我尝试使用linuxdeployQt使其成为 appimage 时,我遇到了一些错误

linuxdeployqt 5 (commit 37631e5), build 631 built on 2019-01-25 22:47:58 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

我不知道这个问题是什么。当我访问该网站时,也不清楚。所以任何熟悉这种类型的人请在这里提供帮助。

标签: linuxqt-creatorappimagewindeployqt

解决方案


这意味着你的 glibc 太新了。

没错,要在使用时解决此问题,linuxdeployqt您必须选择旧系统(例如 Centos 6 或 Ubuntu 14.04)作为构建环境。

作为替代方案,您可以使用appimage-builder允许在较新的系统上生成 AppImage。


推荐阅读