今天在ubuntu上自己build安装qt 4.6.2,在configure的时候有如下错误
还以为是g++版本的问题,后来gcc,g++都装了最新的,发现还是有问题。
Basix XLib functionality test failed!
You might need to modify th inclujde and library search paths by editting
QMAKE_INCDIR_X11 and QMAKE_LIBDIR_X11 in /home/xiangpeng/qt-4.6.2/mkspecs/linux-g++
You might need to modify th inclujde and library search paths by editting
QMAKE_INCDIR_X11 and QMAKE_LIBDIR_X11 in /home/xiangpeng/qt-4.6.2/mkspecs/linux-g++
后来运用如下命令安装libX11相关的库,然后就成功了。
sudo apt-get install libX11-dev libXext-dev libXtst-dev