感谢朋友支持本博客,欢迎共同探讨交流,由于能力和时间有限,错误之处在所难免,欢迎指正!
如果转载,请保留作者信息。
博客地址:http://blog.csdn.net/qq_21398167
在安装CentOS7环境下安装qt-everywhere-opensource-src-4.7.3的时候按照网络上的说明来执行,到了./configure的时候报错
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/qt-everywhere-opensource-src-4.7.3/mkspecs/linux-g++.
主要原因就是缺少了几个库文件
依次执行下面3条命令(因为有依赖关系,顺序别变)
yum install libXau-devel
yum install ibX11-devel
yum install libXext-devel
然后再 ./configure 执行成功。