centos6 配置qt

安装之前要先补充安装下面三个环境:       

1)openssl:yum install openssl-devel
2)UnixODBC:yum install unixODBC-devel
3)mysqlclient: yum install mysql-devel

下载Qt library

http://blog.qt.digia.com/blog/2012/11/29/qt-4-8-4-released/

参考:

http://blog.csdn.net/patelinsc/article/details/7176554

http://blog.csdn.net/fjssharpsword/article/details/7176018

http://code.google.com/p/tonatiuh/wiki/InstallingQtForLinux



上面参考的方法出现了问题

collect2: ld 返回 1
make[2]: *** [../../../../../../lib/libQtWebKit.so.4.9.3] 错误 1
make[2]: Leaving directory `/tmp/qt-everywhere-opensource-src-4.8.4/src/3rdparty/webkit/Source/WebKit/qt'
make[1]: *** [sub-WebKit-qt-QtWebKit-pro-make_default-ordered] 错误 2
make[1]: Leaving directory `/tmp/qt-everywhere-opensource-src-4.8.4/src/3rdparty/webkit/Source'
make: *** [sub-webkit-make_default-ordered] 错误 2

至今没有解决,下面采用另外一个可以使用的方法:
http://blog.csdn.net/pzhsunxu/article/details/7347285

http://syxz1985.blog.163.com/blog/static/122352219201142811025274/



安装 Qt Creator

http://blog.csdn.net/defonds/article/details/4946472

你可能感兴趣的:(centos6 配置qt)