Linux安装Qt详细步骤 亲测总结

下载 qt-everywhere-opensource-src-4.8.4.tar.gz
================准备工作====================
yum install kernel-headers-$(uname -r)

yum install kernel-devel-$(uname -r)
yum install gcc gcc-c++ gdb make
yum install libX11-devel libXext-devel libXtst-devel

================开始安装====================
tar -xzvf qt-everywhere-opensource-src-4.8.4.tar.gz
cd qt-everywhere-opensource-src-4.8.4
./configure
gmake -------(需要时间较长, 之后会在 /usr/local/Trolltech/ 自动生成 Qt-4.8.4 )
gmake install

vi /etc/profile
#在最后添加
PATH=/usr/local/Trolltech/Qt-4.8.4/bin:$PATH
export PATH

Linux安装Qt详细步骤 亲测总结,布布扣,bubuko.com

Linux安装Qt详细步骤 亲测总结

上一篇:如何在Oracle中导入dmp文件


下一篇:SELinux的简单介绍