虚拟机linux安装QT
时间: 2023-10-13 09:03:04 浏览: 294
Linux下QT安装
在虚拟机上安装QT,可以按照以下步骤进行操作:
1. 首先,打开终端,输入命令`sudo apt-get install libqt4-dev`来安装QT的开发库。这样做可以避免在编译时出现“cannot find -lgl”错误。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* *3* [【Linux学习】虚拟机VMware 安装Qt5 一条龙讲解](https://blog.csdn.net/m0_61745661/article/details/123865779)[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^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 100%"]
[ .reference_list ]
阅读全文