日期:2014-05-16 浏览次数:20748 次
ubuntu10版本+qt4.8。默认的解压、./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/openhs/qt-everywhere-opensource-src-4.8.2/mkspecs/linux-g++
这个错误不是一般的蛋疼啊,后来找了n多资料,才知道ubuntu的libX11没安装,s-h-i-t!
先把要的装上:
sudo apt-get install libX11-dev libXext-dev libXtst-dev
再./confiugre,这下应该OK了!