Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

I am trying to compile the android tree on Ubuntu 64bit 12.04; The build fails on an error of missing shared library;

Check /usr/ lib files i found that: /usr/lib/ or /usr/lib32 doesn't have Qt. /usr/lib/x86_64_xxxxx/ does exist.

The package is already installed; however, i believe the installed version is 64bit while the build requires i386 (32bit) version;

how can i install the i386 version of libQt?

share|improve this question

2 Answers 2

You have to install qt-x11-free-dbg Package Type following command in Terminal.

sudo apt-get install qt-x11-free-dbg

share|improve this answer
This still not helping; i did that and i am still getting: u-64:~$ locate libQtGui /usr/lib/x86_64-linux-gnu/libQtGui.prl /usr/lib/x86_64-linux-gnu/ /usr/lib/x86_64-linux-gnu/ /usr/lib/x86_64-linux-gnu/ /usr/lib/x86_64-linux-gnu/ – Rami Nov 14 '12 at 16:27

This is it:

apt-get purge qt5-default -y
apt-get purge qt5-qmake -y
apt-get purge qtbase5-dev-tools -y
apt-get purge qttools5-dev-tools -y
apt-get install gcc-4.9 -y
apt-get install qt5-default -y
apt-get install qt5-qmake -y
apt-get install qtbase5-dev-tools -y
apt-get install qttools5-dev-tools -y
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.