当前位置:网站首页>Qt学习之安装
Qt学习之安装
2022-07-28 15:22:00 【tyrocjl】
下载地址:
http://download.qt.io/archive/qt/
ubuntu 32位下载:qt-opensource-linux-x86-5.4.1.run
ubuntu 64位下载:qt-opensource-linux-x64-5.4.1.runubuntu18.04以上建议下载Qt的较新版本:
qt-opensource-linux-x64-5.11.2.run运行安装程序
bash下./qt-opensourse-linux-x86-5.4.1.run
注:根据提示,默认安装在主目录下环境变量配置(PATH)
思路:将Qt相关的可执行程序所在路径添加到PATH中
具体路径可能有所不同,根据具体情况修改
/home/cjl/Qt5.4.1/5.4/gcc/bin
/home/cjl/Qt5.4.1/Tools/QtCreator/binsudo vi /etc/environment重启系统测试
执行“qmake -v”正常看到Qt的版本信息
执行“qtcreator”正常可以进入Qt的集成开发环境界面问题:提示缺少libgstreamer…相关库
解决:在线安装
sudo apt-get install libgstreamer0.10-0
sudo apt-get install libgstreamer-plugins-base0.10-0
问题:编译Qt程序时提示缺少libgl…相关库(没有安装openGL)
解决:在线安装
sudo apt-get install libgl1-mesa-dev
边栏推荐
- Rosen's QT journey 101 models and views in QT quick
- JS bidirectional linked list 01
- Practical development tutorial of software problem repair tracking system (Part 1)
- Is MySQL query limit 1000,10 as fast as limit 10? If I want to page, what should I do?
- Zhengda cup hacker marathon data analysis competition
- 疫情红利消失,「居家健身」泡沫消散
- LabVIEW LINX Toolkit控制Arduino设备(拓展篇—1)
- Food safety | these two kinds of melons and fruits should be improved, especially for pregnant women with constipation
- One channel encoder, two channels Di speed measurement, RS485 serial port connected to one channel do alarm module ibf151
- Writing of factorial
猜你喜欢

js 链表 01

Advantages of optical rain gauge over tipping bucket rain gauge

加速投资的小红书,“病急乱投医”?

Two special functions (arrow function and method)

2021 Yahong pen test question 2

【Multisim仿真】LM339过零电路仿真

Dynamic programming -- digital statistics DP

Installation points and precautions of split angle probe

KubeEdge发布云原生边缘计算威胁模型及安全防护技术白皮书

Two of C language programming!! Role of
随机推荐
QT打包
JS array (summary)
使用py,根据日志记录自动生成周报
Why do most people who learn programming go to Shenzhen and Beijing?
I'll show you a little chat! Summary of single merchant function modules
2021 亚鸿笔试题2
视频号找到金钥匙,抖音模仿后来人
Numpy ndarray learning < II > miscellaneous records
2021 Kent interview question 1
MySQL view event status statements and modification methods
mysql 查看事件状态语句和修改办法
js 双向链表 01
关于web对接针式打印机问题,Lodop使用
2021 Yahong pen test questions
Application of optical rain gauge to rainfall detection
百度编辑器ueditor,编辑内容过多时,工具栏不可见,不方便编辑或上传问题
Notes on October 22, 2021
The epidemic dividend disappeared, and the "home fitness" foam dissipated
STM32F103C8T6 + 0.96“ I2C OLED显示3D_Cube
Sudden! MSI CEO Jiang Shengchang fell to death