MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

Getting started with Harmattan using Qt SDK

This section lists the practical steps to start developing applications for MeeGo 1.2 Harmattan. First of all, it is recommended that you read the Application development framework section.

Prerequisites

  • You have installed the Qt SDK 1.1.3 (or a later version), which includes:
    • Qt Creator, an integrated development environment (IDE). For more information on Qt Creator, see Qt Creator Manual.
    • Qt Simulator, which you can use to view and test applications that use Qt 4.7 and Qt Mobility 1.2 APIs.
  • The Qt SDK includes the Harmattan target, which includes all the required libraries and development tools for creating applications for Harmattan devices. For more information on the recommended APIs, see MeeGo 1.2 Harmattan API reference.
  • If you are using a device in your development work, you also need the SDK Connectivity tool, which runs on your Harmattan device and provides the network connection between your workstation and your device.
  • If you want to run, test, and debug your application without the Harmattan device, update the Qt SDK with the Harmattan emulator (QEMU). The emulator runs the whole Harmattan software stack.
    Note: When you update the Qt SDK with the Harmattan emulator target, Qt Creator automatically configures the tool. You do not normally need to change the QEMU configuration. To check that the settings are correct, see Checking QEMU configuration.

To start developing for Harmattan with the Qt SDK:

  1. Install the Qt SDK with the Harmattan target on Windows, Linux, or Mac OS X.
  2. If you are using a device, configure the connection between the device and the SDK, and the device access in Qt Creator.
  3. Create a project and a Hello World application in Qt Creator.
  4. Select the run target and run the Hello World application.

For an overview of the components provided by the Qt SDK and the Harmattan target, see Developer offering overview.

Where to go next?

When you are familiar with the contents in this section, read the following: