MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

Installing Qt SDK on Linux

Supported Linux versions

The Qt SDK supports both 32-bit and 64-bit versions of the following operating systems:

  • Ubuntu 11.04 (Natty Narwhal)
  • Debian 6 (Squeeze)

Note: The Harmattan target works on other operating systems as well (such as other Linux distributions), but at this stage its functionality in these host environments has not yet been fully verified.

Installation

  1. Download the .run file for the latest online Qt SDK and launch the installer:
    a. Open your terminal application.
    b. Navigate to the directory in which you downloaded the package.
    c. Give the binary package execution rights with the following command:
    chmod u+x [name_of_installation_package]
    
    d. Start the installer with the following command:
    ./[name_of_installation_package]
    
    e. When the setup window opens, click Next.
  2. If you agree with the License Agreement, select I have read and agree... and click Next.
  3. Specify the location where you want to install the Qt SDK and select Full installation. If you have a previous version installed, click Remove old Qt Creator settings. Click Next.
    Note: Make sure that the installation path does not include spaces.
  4. Click Install.
  5. To complete the installation, click Finish.

After this step, you have a functional Qt SDK installation on your workstation. To update the Qt SDK for Harmattan development, do the following:

  1. To update the Qt SDK with the MeeGo 1.2 Harmattan API target, click Help on the Qt Creator top toolbar and select Start Updater. On the Package manager tab, you can find the MeeGo 1.2 Harmattan API target from under Qt SDK > Development Tools > Harmattan > MeeGo 1.2 Harmattan. You can also select other targets, such as the Harmattan emulator (QEMU).
  2. Click Next, then click Update.
  3. During the update, close Qt Creator if you are prompted to. Do not close the Maintain Qt SDK window.
  4. After the components have been downloaded, click Finish.
The Qt SDK with the Harmattan target is now installed on the host workstation.


If you are using a Harmattan device in your development work, continue by configuring the device-to-SDK connection.

If you are not using a Harmattan device in your development work, continue by creating a project in Qt Creator.