Home > How To > Install QT 4.6.2 on Ubuntu

Install QT 4.6.2 on Ubuntu

I was installing QT 4.6.2 to Ubuntu I got the below error –
Qt configure error: Basic XLib functionality test failed
Here is what I did to get rid of the issue.
1. Install libpcap files with “]$ sudo apt-get install libpcap0.8-dev” this library was missing

2. Then install few more libraries which were missing as this was a new ubuntu installation I was working on.
]$ sudo apt-get install libx11-dev libfreetype6-dev libavahi-gobject-dev libSM-dev libXrender-dev libfontconfig-dev libXext-dev

]$ ./configure
]$ make
]$ sudo make install

After this set the PATH
]$ PATH=/usr/local/<PATH_TO_QT>/qt4/bin:$PATH
]$ export PATH

Thats it !! .
Enjoy QT Development.

Categories: How To
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: