You are not logged in.

Dear visitor, welcome to If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.


Sunday, August 22nd 2010, 4:17pm

XLib test failed : installing qt on Ubuntu

I extracted qt-opensource-everywhere-src-4.6.3 and went inside the folder and typed

Source code


I got the following message :

Source code

Creating qmake. Please wait...
make: Nothing to be done for `first'.
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/daud/Desktop/qt-everywhere-opensource-src-4.6.3/mkspecs/linux-g++.

What should I do ?

Actually, I wanted to access com.trolltech.qt.gui.* package. I think that this can be achieved only by installing qt by the above method.


Monday, August 23rd 2010, 6:20am

I searched through the archives and found that libxext-dev was the package I was missing. Sory to have not noticed before. I installed it using :

Source code

sudo apt-get install libxext-dev

Well, at the moment its still compiling ! (after configure and make)