×
Namespaces

Variants
Actions

Set up Qt for Symbian Environment

From Nokia Developer Wiki
Jump to: navigation, search
Article Metadata
Compatibility
Platform(s):
Symbian
Article
Created: seppo_fn (26 Jan 2011)
Last edited: hamishwillee (24 Jul 2012)

Contents

Setting Up Development Environment for Symbian

For more information about developing applications for the Symbian platform, select Help > Index and look for Platform Notes, or see Platform Notes - Symbian .

Hardware and Software Requirements

Windows is the only development platform for the Symbian target supported at the moment. For deploying and running applications on the device, you need the following: The Nokia USB drivers that come with PC Suite or Ovi Suite The App TRK application for your device Qt installed on the device Qt Mobility APIs installed on the device, if you use them in applications Qt QML Viewer to run Qt Quick applications on Symbian^3 devices. In addition, you can install example applications, demos, and utility applications, such as Nokia Energy Profiler and Nokia Performance Manager, on devices.

Installing Required Applications on Devices

The Qt SDK installation program creates shortcuts for installing the required applications on Symbian devices (you can also use any of the standard methods for installing applications on devices). Connect the device to the development PC with an USB cable in PC Suite Mode. If you have not previously used the device with Ovi Suite or PC Suite, all the necessary drivers are installed automatically. This takes approximately one minute. Separate installation packages are provided for Symbian^3 and Symbian^1 devices, because Symbian^3 is not backwards compatible with Symbian^1. To check the Symbian platform version of your device, see Device Details. Note: You can also copy the .sis files from <QtSDK_install_path>\Symbian\sis to the device using USB storage mode, and then install them from the file manager on the device.


Developing for Symbian^3
1. Choose Start > Qt SDK > Symbian^3 > Install Qt 4.7.1 to Symbian^3 Device. Follow the instructions on the screen to install Qt libraries to the device.
2. Choose Start > Qt SDK > Symbian^3 > Install QtMobility 1.1.0 to Symbian^3 Device and follow the instructions on the screen to install Qt mobility libraries to the device.
3. Choose Start > Qt SDK > Symbian^3 > Install TRK (Debug Agent) to Symbian^3 Device and follow the instructions on the screen to install the TRK debugging application (s60_tb_9_2_app_trk_3_2_8.sisx) to the device.

Developing for Symbian^1
Symbian^1 incorporates Symbian OS and S60 5th Edition (S60 5.0), which is built on Symbian OS v9.4. 1. Choose Start > Qt SDK > Symbian^1 > Install Qt 4.7.1 to Symbian^1 Device. Follow the instructions on the screen to install Qt libraries to the device.
2. Choose Start > Qt SDK > Symbian^1 > Install QtMobility 1.1.0 to Symbian^1 Device and follow the instructions on the screen to install Qt mobility libraries to the device.
3. Choose Start > Qt SDK > Symbian^1 > Install TRK (Debug Agent) to Symbian^1 Device and follow the instructions on the screen to install the TRK debugging application (s60_5_0_app_trk_3_2_7.sisx) to the device.

In addition, you can install an example application and demos to Symbian^1 devices.

Building and Running Applications

You can test your application on a device by building and running it from Qt Creator for the Symbian Device target. Connect the device to the development PC through a USB cable. The target selector displays a green check mark when a device is connected.
Symbian target.png
The tool tip of the target selector shows more details about the actual device that will be used when you run your application. Start the App TRK application on your device and deny the Bluetooth connection. Select Options to select USB as connection type. Click the Run button in Qt Creator.

Related tutorials

This tutorial is part of the article Getting Started with Qt Quick and the Qt SDK v1.1.

This page was last modified on 24 July 2012, at 05:12.
29 page views in the last 30 days.
×