ubuntu使用linuxdeployqt
时间: 2023-08-31 10:04:48 浏览: 80
要在Ubuntu上使用linuxdeployqt打包Qt程序,你可以按照以下步骤进行操作:
1. 首先,你需要下载linuxdeployqt。你可以从https://github.com/probonopd/linuxdeployqt/releases 下载最新版本的linuxdeployqt。
2. 下载完成后,在终端中执行以下命令,给linuxdeployqt授予执行权限并将其移动到/usr/local/bin目录下:
```
sudo chmod a+x linuxdeployqt-x86_64.AppImage
sudo mv linuxdeployqt-x86_64.AppImage linuxdeployqt
sudo mv linuxdeployqt /usr/local/bin
```
3. 确认linuxdeployqt是否成功安装,可以在终端中执行以下命令查看版本信息:
```
linuxdeployqt --version
```
如果成功安装,你应该可以看到输出的版本信息。
通过以上步骤,你就可以在Ubuntu上成功安装并使用linuxdeployqt来打包Qt程序了。希望对你有帮助!<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [ubuntu使用linuxdeployqt打包发布Qt程序](https://blog.csdn.net/skl5879166/article/details/124247975)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *3* [解决Ubuntu下使用linuxdeployqt打包Qt程序问题](https://download.csdn.net/download/weixin_38546608/12842050)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文