分类:后台技术 | 标签:QT | 发布时间:2013-04-01 22:30:00
下载:Qt libraries 4.8.4 for Linux/X11
解压:
tar xvf qt-everywhere-opensource-src-4.8.4.tar
cd qt-everywhere-opensource-src-4.8.4
./configure
//o: opensource
make
make install
选择:工具 - 选项 - 构建并执行
设置QT版本:新增,选择目录
设置 Kits
错误:
Basic XLib functionality test failed!
You might need to modify the include and library search paths by editing
QMAKE_INCDIR_X11 and QMAKE_LIBDIR_X11 in /home/zhu/Qt/qt-x11-opensource-src-4.5.2/mkspecs/linux-g++
解决:
sudo apt-get install libX11-dev libXext-dev libXtst-dev
Copyright © 2012-2016 wenzhixin.net.cn 粤ICP备15117953号