问题遇到的现象和发生背景
在Linux系统下打包应用程序,网上说有两种方式,一种是Linuxdeployqt命令,一种是sheel脚本,使用sheel脚本打包应用程序虽然很快就实现了,在本地运行ok。但是拷贝到其他Linux,麒麟操作系统上,莫名的报了一推不认识的错误,并且在产品发布的时候,需要发布正式的deb安装包,所以思考之下,还是决定回来使用Linuxdeployqt命令打包。于是,进入一个又一个大坑。
问题相关代码,请勿粘贴截图
参考网站:https://blog.csdn.net/qq_34623621/article/details/121188528
看这网站的几步,下载Linuxdeployqt,运行打包,实在潇洒极了,但是当我下载Linuxdeployqt安装包之后,运行,错误如下:
root@DESKTOP-R2SBJKM:~/Desktop# linuxdeployqt --version
fuse: device not found, try 'modprobe fuse' first
Cannot mount AppImage, please check your FUSE setup.
You might still be able to extract the contents of this AppImage
if you run it with the --appimage-extract option.
See https://github.com/AppImage/AppImageKit/wiki/FUSE
for more information
open dir error: No such file or directory
root@DESKTOP-R2SBJKM:~/Desktop#
完全不知所踪。也查看了fuse这个包。
root@DESKTOP-R2SBJKM:~/deepaidesigner# fuse --version
The Free Unix Spectrum Emulator (Fuse) version 1.5.7.
试着去执行 modprobe fuse
root@DESKTOP-R2SBJKM:~/deepaidesigner# modprobe fuse
modprobe: FATAL: Module fuse not found in directory /lib/modules/4.4.0-19041-Microsoft
请各位网友帮忙解决,