天天看點

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上安裝還是十分友善的……

主要是記錄一下這三個包

繼續閱讀