CentOS6.5上安装qt-creator-opensource-linux-x86-3.1.2.run
来源:互联网 发布:小猫多少钱一只淘宝网 编辑:程序博客网 时间:2024/06/05 05:31
1、qt-creator-opensource-linux-x86-3.1.2.run的下载
# wget http://mirrors.hustunique.com/qt/official_releases/qtcreator/3.1/3.1.2/qt-creator-opensource-linux-x86-3.1.2.run
修改权限
#chmod 777 qt-creator-opensource-linux-x86-3.1.2.run
2、在图形界面下双击安装
安装完以后会出现
打开qtcreator安装目录,这里安装目录为:/opt/qtcreator-3.1.2/bin
在这个目录下打开命令终端,输入:./qtcreator 提示如下错误:
Failed to load core:/opt/Qt5.1.1/Tools/Qt5.1.1/Tools/QtCreator/lib/qtcreator/plugins/QtProject/libCore.so: Cannot load library/opt/Qt5.1.1/Tools/Qt5.1.1/Tools/QtCreator/lib/qtcreator/plugins/QtProject/libCore.so: (/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by/opt/Qt5.1.1/Tools/QtCreator/lib/qtcreator/plugins/QtProject/../.././libQt5CLucene.so.5))
说我的libstdc++.so.6里没有`GLIBCXX_3.4.15
使用如下指令
$ strings /usr/lib/libstdc++.so.6 | grep GLIBC
得到:
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_3.4.10
GLIBCXX_3.4.11
GLIBCXX_3.4.12
GLIBCXX_3.4.13
GLIBC_2.0
GLIBC_2.3
GLIBC_2.4
GLIBC_2.1
GLIBC_2.1.3
GLIBC_2.3.2
GLIBC_2.2
GLIBCXX_FORCE_NEW
GLIBCXX_DEBUG_MESSAGE_LENGTH
找到gcc的安装目录:
# which gcc
会显示gcc的安装目录,在gcc安装目录下,lib/文件下有个libstdc++.so.6文件
输入:strings gcc安装目录/libstdc++so.6 | grep GLIBC
看是否有GLIBCXX_3.4.15,如果有则libstdc++.so.6文件拷贝到/usr/lib64/ 目录下;如果没有则需要对现有gcc进行升级
gcc进行升级,请查看:
http://blog.csdn.net/u010340823/article/details/36223583
qtcreator 编译工程出现 cannot find -lGL的解决方法
-I :说明找不到对应的库文件
解决方法:
以下操作都在root权限下进行!
1.按照提示安装对应的库文件,fedora安装库件的格式:yum install libxxx(你要装的库),如果已经安装GL库,会显示已经安装
Ps:如果提示的库文件名是大写的,yum安装的时候也一定要大写,否则是找不到对应库的
参考:http://blog.csdn.net/wangsky2/article/details/17262089
- CentOS6.5上安装qt-creator-opensource-linux-x86-3.1.2.run
- linux上安装了qt-sdk-linux-x86-opensource-2010.05.1具体步骤
- linux上安装了qt-sdk-linux-x86-opensource-2010.05.1具体步骤
- linux上安装了qt-sdk-linux-x86-opensource-2010.05.1
- 安装QT, 执行qt-sdk-linux-x86-opensource-2010.05.bin
- 安装QT, 执行qt-sdk-linux-x86-opensource-2010.05.bin
- 安装&测试qt-sdk-linux-x86-opensource-2009.01.bin
- ubuntu qt-creator-linux-x86-opensource-1.3.0.bin qt4-x11_4.6.2.orig.tar.gz
- ubuntu 下卸载qt-creator-linux-x86-opensource-1.3.0.bin
- qt-opensource-windows-x86-vs2010-4.8.6 + qt-creator-windows-opensource-2.8.0
- qt-opensource-windows-x86-vs2010-4.8.6 + qt-creator-windows-opensource-2.8.0
- 在ubuntu10.04上 安装 QT5.1.1 后打不开qt creator (opensource)的解决方法
- fedora下QT安装 (qt-sdk-linux-x86-opensource-2010.05.1.bin, 自己配置PATH)
- s3c2410上搭建QT/Embedded4.8.5开发环境(四)--安装intel-x86 X11平台qt库qt-everywhere-opensource-src-4.8.5
- s3c2410上搭建QT/Embedded4.8.5开发环境(三)--安装intel-x86嵌入式平台(基于qvfb)的qt库qt-everywhere-opensource-src-4.8.5
- ubuntu10.04安装qt-sdk-linux-x86-opensource-2010.05.1.bin
- 配置编译安装x86平台qt库qt-everywhere-opensource-src-4.8.5
- 安装qt-opensource-windows-x86-msvc2010_opengl-5.2.1 无法编译
- android文件读写总结
- OpenCV学习笔记6 OpenCV核心模块与核心功能Core Module & Core Functionality(五)
- 如何组织论文
- Adobe Audition剪辑音乐片段
- 做iOS开发我为什么弃用Objective-C而选择RubyMotion?
- CentOS6.5上安装qt-creator-opensource-linux-x86-3.1.2.run
- Mysql查询指定范围行的记录
- Java AWT事件适配器
- why do we need root and logger in log4j.xml
- Android使用自定义AlertDialog(退出提示框)
- 清除掉shared pool中某条sql语句方法
- LED照明行业八大“黑榜”常客“公示”
- VS2010 下编译Protocol Buffer 及使用
- java 19:不可变字符串和限定字符串(Immutable String and Interned String)