1
Installation steps of Qt Mobility for Symbian (for S60 3.1, 3.2 & 5.0 and Symbian SDKs)
2
---------------------------------------------------------------------------------------
3
4
The Mobility project information can be found at http://qt.nokia.com/developer/new-qt-apis
5
6
Prerequisites
7
-------------
8
- install latest official Qt 4.7 for Symbian (first you need to have Symbian SDK(s) in place)
9
  - Instructions available in Qt documentation: http://doc.qt.nokia.com/4.7-snapshot/install-symbian.html
10
11
- ensure your PATH environment variable includes Qt 4.7 for Symbian 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.
12
13
QtMobility release information
14
------------------------------
15
Published QtMobility releases are tested with following Qt releases
16
QtMobility 1.0.2 Qt 4.6.3
17
QtMobility 1.1.0 Qt 4.7.0
18
QtMobility 1.1.1 Qt 4.6.3 and Qt 4.7.2
19
QtMobility 1.1.2 Qt 4.6.3 and Qt 4.7.2
20
21
Installing Qt Mobility for Symbian (for S60 3.1, 3.2 & 5.0 and Symbian SDKs)
22
----------------------------------------------------------------------------
23
24
- Once you have downloaded the Qt Mobility Symbian package, unzip the package
25
26
The Symbian package is identical to the source package, with the following additions:
27
28
  INSTALL.symbian
29
  qt-mobility-x.y.z-qt-y.u.v-epoc32-3.1.zip
30
  qt-mobility-x.y.z-qt-y.u.v-epoc32-3.2.zip
31
  qt-mobility-x.y.z-qt-y.u.v-epoc32-5.0.zip
32
  qt-mobility-x.y.z-qt-y.u.v-epoc32-symbian.zip
33
  qt-mobility-symbian-x.y.z-qt-y.u.v-s60-symbian-signed.sis
34
  qt-mobility-symbian-x.y.z-qt-y.u.v-s3-nokia-signed.sis
35
36
  Where x.y.z is the version of the QtMobility release and y.u.v the Qt release used to generate the sis file.
37
38
- Installing the mobility libraries to your Symbian SDK happens by extracting the
39
  'qt-mobility-x.y.z-epoc32-<SYMBIAN_SDK>.zip' file to your Symbian SDK.
40
  - 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
41
  - extract the file
42
  - Note that you need to repeat this step for all the Symbian SDKs you want to develop with Mobility APIs.
43
44
- Enabling Mobility APIs to your device (Symbian 3rd Edition FP1 or newer, in case unsure see http://www.forum.nokia.com/devices/) :
45
  - Prerequisite : Qt 4.7 for Symbian is installed. For Symbian Qt 4.7 installation package see: http://labs.qt.nokia.com/2010/10/18/qt-4-7-for-symbian3-developer-version-available/
46
  - install the 'qt-mobility-symbian-x.y.z-s60.sis' or 'qt-mobility-symbian-x.y.z-symbian.sis' file to device. You can do this, for example, via bluetooth or through Nokia Ovi Suite (recommended)
47
48
- Copy the <QTMOBILITYDIR>/features/mobility.prf.template file to QTDIR/mkspecs/features/mobility.prf
49
  - The relevant Qt directory can be obtained by running 'qmake -v' within the build environment.
50
51
- Setup Qt Mobility configuration:
52
  - run "configure -no-docs -no-tools -examples -demos" on the root of Mobility source tree
53
    - result of running the configure depends on the installed SDK plugins present in the SDK which means it might not equal
54
      the configuration used to compile Qt Mobility binaries in the delivered binary package
55
    - The "-examples" and "-demos" configure switches execute qmake for example and demo applications
56
  OR
57
  - copy and rename correct config.pri.<platform> from features directory to the Qt Mobility root directory.
58
    - The content of the specific config.pri is equal to the environment used to compile the Qt Mobility binaries in the package.
59
      However you should note that your environment may differ from the environment used to generate files. This may result in compilation problems
60
    - If you use the config.pri templates you must run qmake by yourself for the example and demo applications before compiling them
61
62
The above steps create a working environment for new projects wanting to use the QtMobility libraries.
63
64
Examples:
65
66
- build an example with your device connected to Ovi suite, go to examples
67
68
* cd examples
69
* qmake [example].pro
70
* make release-gcce
71
* createpackage -i [example]_template.pkg release-gcce <certificate> <private key>
72
73
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 Ovi Suite.
74
75
How to sign the packages that can be selfsigned? Easy, use createpackage as demonstrated in the installation instructions.
76
What about the ones that require heavier signing? http://wiki.forum.nokia.com/index.php/Complete_Guide_To_Symbian_Signed
77
78
79
Followup and support for QtMobility
80
-----------------------------------
81
If you have questions about the examples, about using the APIs or want to provide us input you can do it via the following channels:
82
83
The Mobility project information can be found at http://qt.nokia.com/developer/new-qt-apis
84
85
QtMobility blogs can be found from: http://labs.qt.nokia.com/category/qtmobility/
86
87
QtMobility mailing list: http://lists.trolltech.com/mailman/listinfo/qt-mobility-feedback.
88
Qt Mobility discussion forum in http://discussion.forum.nokia.com/forum/forumdisplay.php?f=232
89
90
91
Stay tuned for more exciting news on the mobility front!