GitHub - probonopd/linuxdeployqt: Makes Linux applications self-contained by copying in the libraries and plugins that the application uses, and optionally generates an AppImage. Can be used for Qt and other applications
GitHub - NixOS/patchelf: A small utility to modify the dynamic linker and RPATH of ELF executables
1、可以到上面链接上下载源代码,然后在目标机器上交叉编译,然后make install安装
2、执行linuxdeployqt或者全路径
3、把生成的可执行文件放到bin/XXX目录下
4、linuxdeployqt XXX -appimage
这位网友写的比较详细,可以参考
Linux下使用linuxdeployqt发布Qt程序-CSDN博客