Archived:Qt Mobility Technology Preview

From Nokia Developer Wiki
Jump to: navigation, search

Archived.pngArchived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.

You can find the newest version on http://qt.nokia.com/products/qt-addons

Article Metadata
Created: Jack Torrance (07 Dec 2009)
Last edited: hamishwillee (19 Jun 2012)


Installation steps of Qt Mobility Technology preview:

The Mobility project information can be found from http://qt.nokia.com/developer/qt-roadmap


- install Qt (first you need to have Symbian SDK(s) in place)

 * Instructions available in Nokia Developer Library: Setting up the Qt development environment
 * Qt SDK is available in http://developer.qt.nokia.com/wiki/Support_for_Symbian

- ensure your PATH environment variable includes Qt SDKs bin folder. It's recommended to have it in the beginning of the PATH as the first make command that is found is used.

Installing Qt Mobility Technology preview

- Once you have downloaded the technology preview package (get.qt.nokia.com/qt/solutions/qt-mobility-src-1.0.0-tp.zip) unzip the package

The package contains symbian folder where the content is as follows:


- Installing the mobility libraries to your Symbian SDK happens by extracting the 'Qt_Mobility_tech_preview_libraries.zip' file to your Symbian SDK.

  - First copy the zip file to your Symbian SDK next to \epoc32 folder, f.ex to C:\Symbian\9.4\S60_5th_Edition_SDK_v1.0_2
  - extract the file
  - Note that you need to repeat this step for all the Symbian SDKs you want to develop with Mobility APIs.

- Enabling Mobility APIs to your device (Symbian 3rd Edition FP1 or newer, in case unsure see http://www.developer.nokia.com/Devices/):

 - Prerequisite : Qt 4.6.0 for Symbian is installed
 - install the 'Qt_Mobility_tech_preview.sis' file to device. You can do this f.ex via bluetooth or through Nokia PC Suite (recommended)

- Configuring mobility examples: open command prompt in the root folder of mobility and execute the following command:

    configure.bat -examples 


- build an example with your device connected to PC suite, go to examples

  • cd examples
  • qmake [example].pro
  • make release-gcce
  • createpackage -i [example]_template.pkg release-gcce

Note that 'qmake' is already run for all the examples during 'configure -examples' command. Execute qmake again in case you modify the examples .pro file. The createpackage command creates a self signed symbian installer package. the -i parameter in createpackage command installs the example to your device connected to Nokia PC Suite.

Notes on examples in the Mobility SDK

The Mobility project information can be found from http://qt.nokia.com/developer/qt-roadmap

The Mobility release contains an initial set of very simple examples where f.ex the UI is not optimized at all. We will be adding in a complete set of mindblowing demo applications soon so stay tuned f.ex by joining the mailing list at http://lists.qt.nokia.com/mailman/listinfo/qt-mobility-feedback. If you have questions about the examples, about using the APIs or want to provide us input you can also do it via just opened Qt Mobility discussion forum in http://www.developer.nokia.com/Community/Discussion/forumdisplay.php?232-Qt-Mobility-Project

About the examples; The following ones have been tested to work on selected Symbian 3rd Edition FP1, FP2 and 5th Edition SDKs and devices


  * two use cases : 1) shows your location on a map 2) simulates a predefined root.
  * Note : For S60 3rd edition FP1 devices location is not user grantable capability i.e can't be selfsigned. 
  * not sure what platform edition you device is? Have a look here http://www.developer.nokia.com/Devices/


  - Shows the different bearers that the device can use to get connected (f.ex WLANs, GPRS etc.) in a nice UI
  - The example requires only user grantable capabilities i.e can be self signed.

BearerEx & bearermonitor

  * Shows more detailed bearer information. 
  * When self signed there are limitations in creating or deleting connection sessions


  * Shows different information about the device. 
  * Can not be self signed


  * Simple demo showing how the get device battery using Publish & Subscribe
  * can not be self signed.

serviceactions and writemessage

 * Messaging demo
 * can not be self signed.


* An example plugin to the service framework
* can not be self signed.

How to sign the packages that can be selfsigned? Easy, use createpackage as demonstrated in the installation instructions. What about the ones that require heavier signing? See http://www.developer.nokia.com/Distribute/Packaging_and_signing.xhtml or User guide: Symbian Signed

The following examples require multimedia API backend that is not implemented yet so you need to wait a couple of weeks to get these working:


The following examples utilize QML which is not part of current Qt 4.6 for Symbian release:


In case you have anything to ask or run into issues feel free to contact us f.ex through discussion board available in http://www.developer.nokia.com/Community/Discussion/forumdisplay.php?232-Qt-Mobility-Project

Stay tuned for more news on the mobility front!

This page was last modified on 19 June 2012, at 07:40.
74 page views in the last 30 days.