下载linuxdeployqt
官网地址:https://github.com/probonopd/linuxdeployqt/releases
安装
更改名字
mv linuxdeployqt-6-x86_64.AppImage linuxdeployqtView Code
修改权限
chmod 777 linuxdeployqtView Code
全局访问
sudo mv linuxdeployqt /usr/local/binView Code
测试
linuxdeployqt --versionView Code
表示成功
打包
QTCreator用release生成的可执行文件复制到新的控文件夹内然后执行
linuxdeployqt YourExcube -appimageView Code
打包成功
运行Appimage结尾的文件即可
标签:Code,QTCreator,linuxdeployqt,Ubuntu,打包,View From: https://www.cnblogs.com/vcan123/p/18512356