Qt is a multi-platform application and UI framework that combines tools needed for the creation of applications targeted at mobile phones, desktop environments like Windows, Mac OS X and of course Linux. In this page we will see how to install QT4 under Ubuntu 11.10/11.04, we will also see how to install the Qt SDK needed by open source C++ developers.

Under Ubuntu 11.04, you can search and install QT4 packages using Synaptic. You can install Synaptic under Ubuntu 11.10 Oneiric Ocelot with this command:

sudo apt-get install synaptic

Note: You need root privileges to be able to use Synaptic.

You can instead install QT4 packages from the terminal with this command:

sudo apt-get install qt4-dev-tools libqt4-dev libqt4-core libqt4-gui

QT SDK Installation

Alternatively, you can install QT SDK under Ubuntu 11.10/11.04, which contains the following:

  • Qt libraries (v4.7.4)
  • Symbian & MeeGo Simulators
  • Qt Creator IDE (v2.3)
  • Qt Mobility (v1.2)
  • Qt development tools
  • Remote compilers
You can install QT SDK with this sequence of commands:

For Ubuntu 32-bit:

wget -O Qt_SDK_Lin32_v1_2_en.run http://goo.gl/Vj7S5

chmod u+x Qt_SDK_Lin32_v1_2_en.run


For Ubuntu 64-bit:

wget -O Qt_SDK_Lin64_v1_2_en.run http://goo.gl/XdqQb

chmod u+x Qt_SDK_Lin64_v1_2_en.run


Then follow setup instructions (installation may take several minutes):

That's it!

Post a Comment