QT4.7+QT Creator 编译安装问题

参考官方的文档:To configure the Qt library for your machine type, run the ./configure script in the package directory。在./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/luohui8891/qt-x11-opensource-src-4.5.2/mkspecs/linux-g++.

而我在网上搜索了这个问题,解决办法是安装libX11-dev libXext-dev libXtst-dev这3个软件包,在ubuntu上安装还是十分方便的……

主要是记录一下这三个包

你可能感兴趣的:(QT4.7+QT Creator 编译安装问题)