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、執(zhí)行l(wèi)inuxdeployqt或者全路徑
3、把生成的可執(zhí)行文件放到bin/XXX目錄下
4、linuxdeployqt XXX -appimage
這位網(wǎng)友寫的比較詳細,可以參考文章來源:http://www.zghlxwxcb.cn/news/detail-793885.html
Linux下使用linuxdeployqt發(fā)布Qt程序-CSDN博客文章來源地址http://www.zghlxwxcb.cn/news/detail-793885.html
到了這里,關于linux QT程序打包的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關文章,希望大家以后多多支持TOY模板網(wǎng)!