1、打包Qt程序
1.1 下载linuxdeployqt
如果使用环境是x86可以直接下载,下载地址
https://github.com/probonopd/linuxdeployqt/releases
如果使用环境是嵌入式,需要下载linuxdeployqt源码,自行编译
1.2 安装linuxdeployqt
将下载解压后的linuxdeployqt,拷贝到/usr/local/bin/中即可
验证是否安装成功:linuxdeployqt -v
$ linuxdeployqt -v
linuxdeployqt (commit 5fa79fa), build 36 built on 2022-08-21 12:36:03 UTC
Usage: linuxdeployqt <app-binary|