linux - 使用源代码和 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
我不知道这个问题是什么。当我访问该网站时,也不清楚。所以任何熟悉这种类型的人请在这里提供帮助。
解决方案
这意味着你的 glibc 太新了。
没错,要在使用时解决此问题,linuxdeployqt
您必须选择旧系统(例如 Centos 6 或 Ubuntu 14.04)作为构建环境。
作为替代方案,您可以使用appimage-builder允许在较新的系统上生成 AppImage。
推荐阅读
- react-native - 致命异常:mqt_native_modules
- python - 在 mongodb 中使用 group by 之前的排序
- python - 检查字符串是否为空
- python - 无法解释“CategoricalDtype”
- jdbc - 关闭 JDBC 子包装器时出错:com.ibm.websphere.ce.cm.StaleConnectionException: Closed Connection
- javascript - Jquery使用参数值调用相同的函数
- html - HTML 报告的标题默认为报告的底部
- python-3.x - 如果字符串包含另一个字符串 Python 的元素列表中的单词,则提取部分字符串
- python - 从远离 main() 的文件中导入 Python 模块
- python - 如何让用户在图像上设置 4 个点?