Centos7下QT5.9.2环境搭建
来源:互联网 发布:淘宝男装店铺 编辑:程序博客网 时间:2024/05/17 23:54
1、下载安装程序
http://download.qt.io/official_releases/qt/5.9/5.9.2/qt-opensource-linux-x64-5.9.2.run
2、安装
chmod u+x qt-opensource-linux-x64-5.9.2.run
./qt-opensource-linux-x64-5.9.2.run
进入安装界面,进行安装
安装完成之后进入安装目录运行QtCreator
此时只能在root用户下执行./Qt5.9.2/Tools/QtCreator/bin/qtcreator.sh运行QtCreator
3、设置环境变量
添加环境变量
export LD_LIBRARY_PATH=/opt/Qt5.9.2/Tools/QtCreator/lib:/opt/Qt5.9.2/Tools/QtCreator/lib/qtcreator:/opt/Qt5.9.2/Tools/QtCreator/lib/Qt/lib:$LD_LIBRARY_PATHexport PATH=$PATH:/opt/Qt5.9.2/5.9.2/gcc_64/bin:/opt/Qt5.9.2/Tools/QtCreator/bin
4、执行qtcreator
qtcreator
5、遇到的问题
./qt-opensource-linux-x64-5.9.2.run
QXcbConnection: Could not connect to display Aborted (core dumped)设置环境变量export DISPLAY=:0.0
阅读全文
0 0
- Centos7下QT5.9.2环境搭建
- Windows下Qt5环境搭建
- Windows下Qt5环境搭建
- Windows下Qt5 MinGW4.9.2 OSG开发环境搭建
- centos7下lamp环境搭建
- CentOS7下PHP环境搭建
- CentOS7环境下搭建ElasticSearch
- CentOS7环境下搭建Kibana
- CentOS7环境下搭建Kafka
- CentOS7环境下搭建flume
- centos7下lamp环境搭建
- centos7下hadoop环境搭建
- Windows下Qt5搭建Android开发环境
- Unbuntu14下Qt5 开发环境的搭建
- Windows7下QT5开发环境搭建
- Ubuntu下Qt5.6.2开发环境搭建
- Windows7下QT5开发环境搭建
- centos7+qt5开发环境配置
- Necklace UVA
- java设计模式之单例模式
- Kafka 0.11新版本发布:主要的功能变更介绍:支持 EOS, 事务和幂等producer
- 莫名图片
- 关于json对象的增删改查
- Centos7下QT5.9.2环境搭建
- java中的参数传递问题
- 注意事项
- map遍历
- 欢迎使用CSDN-markdown编辑器
- 脏读、幻读、不可重复读和丢失更新
- java基础
- ADS软件连接SQLSERVER报错
- Javaweb开发为什么需要分前后端,放弃原生JSP