Today I’d successfully installed Nokia Qt SDK on my Ubuntu 10.10 based laptop and was able to try a sample Qt application on it. It was an interesting experience for me, and I would like to share this with you all.
I started downloading the Nokia Qt SDK for Linux from the Forum Nokia’s Nokia Qt SDK page, but unfortunately when the download reached 561 mb of data it stopped the downloading due to some network problem and due to some system upgrade I wanted to restart the laptop and the download got canceled. The fortunate part was that the portion of download left in the directory when I reboot. Google helped me find a solution to resume the failed download, that was the curl tool. Then I realized the power of Linux. Any way the below details will be useful to setup Nokia Qt SDK on your Linux machine.
Execute the below commands on your Linux (as I mentioned earlier I’d used a Ubuntu 10.10 based laptop). These are the pre-requisite before downloading and installing the Nokia Qt SDK to your machine, so if you already have these modules it is well and good you can go to the next step.
$ sudo apt-get install g++ make libSM-dev libxext-dev libxcursor-dev libfreetype6-dev libxrandr-dev libglib2.0-dev libfontconfig1-dev libxft-dev libglu-dev
By executing the above command, following packages will get installed on your machine:
g++ g++-4.4 libice-dev libsm-dev libstdc++6-4.4-dev x11proto-core-dev
libpthread-stubs0 libpthread-stubs0-dev libx11-dev libxau-dev libxcb1-dev libxdmcp-dev libxext-dev x11proto-input-dev x11proto-kb-dev x11proto-xext-dev xtrans-dev
libxcursor-dev libxfixes-dev libxrender-dev x11proto-fixes-dev x11proto-render-dev
libdrm-dev libgl1-mesa-dev libglu1-mesa-dev libkms1 mesa-common-dev
Install Nokia Qt SDK
Here is the final step in the installation, execute the below commands:
$ sudo apt-get install curl
$ curl -f -L -o Nokia_Qt_SDK_Lin32_offline_v1_0_2_en.run -C - http://sw.nokia.com/id/43a0303f-a170-45d5-a25e-193bb0b7478c/Nokia_Qt_SDK_Lin32_offline_v1_0_2_en.run
$ chmod +x Nokia_Qt_SDK_Lin32_offline_v1_0_2_en.run
$ sudo ./Nokia_Qt_SDK_Lin32_offline_v1_0_2_en.run
The last command will start the installation of Nokia Qt SDK, it is a GUI based installer, follow the instructions on the screen. Here are few screen shots for your reference:
Typically it took ~700 mb of disk-space for the total installation excluding the size of downloaded setup file (Nokia_Qt_SDK_Lin32_offline_v1_0_2_en.run), which took exactly 591 mb.
The below pages helped me during the installation: