liwl
2024-03-07 23:38 deepin
sudo apt install qt5-default
Reply Like 0 View the author
sudo apt install qt5-default
sudo apt install qt5-default
qmake的问题确实解决了,但打包项目出现了新的报错:
fsl3118@fsl3118-PC:~/Desktop/build-reconstruction_gC-unknown-Release$ ./linuxdeployqt-continuous-x86_64.AppImage ./reconstruction_gC -unsupported-allow-new-glibc
linuxdeployqt (commit 2b38449), build 62 built on 2023-12-27 21:00:01 UTC
WARNING: Not checking glibc on the host system.
The resulting AppDir or AppImage may not run on older systems.
This mode is unsupported and discouraged.
For more information, please see
https://github.com/probonopd/linuxdeployqt/issues/340
Not using FHS-like mode
app-binary: "/home/fsl3118/Desktop/build-reconstruction_gC-unknown-Release/reconstruction_gC"
appDirPath: "/home/fsl3118/Desktop/build-reconstruction_gC-unknown-Release"
relativeBinPath: "reconstruction_gC"
Keeping existing AppRun
qmakePath 3= ""
ERROR: lconvert not found at "/tmp/.mount_linuxd9fw4vP/usr/bin/lconvert"
ERROR: Failed to copy translations
qmake的问题确实解决了,但打包项目出现了新的报错:
fsl3118@fsl3118-PC:~/Desktop/build-reconstruction_gC-unknown-Release$ ./linuxdeployqt-continuous-x86_64.AppImage ./reconstruction_gC -unsupported-allow-new-glibc
linuxdeployqt (commit 2b38449), build 62 built on 2023-12-27 21:00:01 UTC
WARNING: Not checking glibc on the host system.
The resulting AppDir or AppImage may not run on older systems.
This mode is unsupported and discouraged.
For more information, please see
https://github.com/probonopd/linuxdeployqt/issues/340
Not using FHS-like mode
app-binary: "/home/fsl3118/Desktop/build-reconstruction_gC-unknown-Release/reconstruction_gC"
appDirPath: "/home/fsl3118/Desktop/build-reconstruction_gC-unknown-Release"
relativeBinPath: "reconstruction_gC"
Keeping existing AppRun
qmakePath 3= ""
ERROR: lconvert not found at "/tmp/.mount_linuxd9fw4vP/usr/bin/lconvert"
ERROR: Failed to copy translations
看提示应该不是qt的问题了,看看提示,再研究研究吧
Popular Events
More
在网上找了一个QT项目,比较感兴趣,想自己动手打包成appimage,结果卡住了。提示是找不到qmake路径。然后我检查qmake版本才发现:
fsl3118@fsl3118-PC:~$ qmake -v
qmake: could not find a Qt installation of ''
啊这,我配置了家目录的.barshc,不应该找不到啊,而且QT就出现在路径里了:
fsl3118@fsl3118-PC:~ echo PATH
/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/sbin:/usr/sbin:/opt/010editor:/usr/local/mysql/bin/:/usr/lib/x86_64-linux-gnu/qt5/bin:/usr/lib/qt6/bin
这很奇怪了。