Ubuntu安装QT4.8.5
2017-05-10 14:41
274 查看
1 安装QT Creator
sudo apt-get install qtcreator
2 下载QT4.8.5
http://download.qt.io/archive/qt/4.8/4.8.5/qt-everywhere-opensource-src-4.8.5.zip
./configure: 183: ./configure: /^(QMAKE_CXX)=/ { print substr($0, index($0, "=") + 1) }: not found
ERROR: Cannot set the compiler for the configuration tests
配置出错。
需要下载http://download.qt.io/archive/qt/4.8/4.8.5/qt-everywhere-opensource-src-4.8.5.tar.gz
3 解压
tar -zxvf ../share/qt-everywhere-opensource-src-4.8.5.tar.gz
4 配置
./configure -prefix /usr/local/qt/qt_4.8.5/x86
5 编译&安装
make -j8
make install
6 添加到qt creator中
sudo apt-get install qtcreator
2 下载QT4.8.5
http://download.qt.io/archive/qt/4.8/4.8.5/qt-everywhere-opensource-src-4.8.5.zip
./configure: 183: ./configure: /^(QMAKE_CXX)=/ { print substr($0, index($0, "=") + 1) }: not found
ERROR: Cannot set the compiler for the configuration tests
配置出错。
需要下载http://download.qt.io/archive/qt/4.8/4.8.5/qt-everywhere-opensource-src-4.8.5.tar.gz
3 解压
tar -zxvf ../share/qt-everywhere-opensource-src-4.8.5.tar.gz
4 配置
./configure -prefix /usr/local/qt/qt_4.8.5/x86
5 编译&安装
make -j8
make install
6 添加到qt creator中
相关文章推荐
- ubuntu10.04下QT4.8.5 phonon的安装配置及实例
- 在ubuntu下安装qt4.8.5和qtcreator2.8.0
- Ubuntu下编译安装QT-4.8.5
- Ubuntu arm-qt4.8.5 的安装与配置
- Ubuntu安装Qt4.8.5+Qt Creator
- 教你Ubuntu下安装QT开发环境
- ubuntu下qt的安装(命令自动安装)
- Qt4开发环境的安装(ubuntu)
- ubuntu9.04下ibus的安装和qt下的解决方案
- 教你Ubuntu下安装QT开发环境
- Ubuntu下安装QT-SDK
- ubuntu 9.10 安装QT4.5.3 QTEmbeded
- ubuntu QT安装方法
- ubuntu10.04编译安装QT可能出现的问题和解决办法
- Qt: Ubuntu10.04安装Qt 及 生成qvfb
- Qt: Ubuntu10.04安装Qt embedded x86 + qvfb开发环境
- ubuntu下qt的安装(命令自动安装)
- Ubuntu下Qt的安装和一些配置
- 教你Ubuntu下安装QT开发环境
- Ubuntu下安装QT,折腾我好几天了。。。