1 /****************************************************************************
3 ** This file is part of Qt Creator
5 ** Copyright (c) 2011 Nokia Corporation and/or its subsidiary(-ies).
7 ** Contact: Nokia Corporation (info@qt.nokia.com)
10 ** GNU Free Documentation License
12 ** Alternatively, this file may be used under the terms of the GNU Free
13 ** Documentation License version 1.3 as published by the Free Software
14 ** Foundation and appearing in the file included in the packaging of this
17 ** If you have questions regarding the use of this file, please contact
18 ** Nokia at info@qt.nokia.com.
20 ****************************************************************************/
23 \contentspage index.html
25 \previouspage creator-developing-maemo.html
27 \previouspage sdk-gs.html
29 \page creator-developing-symbian.html
31 \nextpage creator-project-managing-sessions.html
33 \nextpage creator-developing-meego.html
36 \title Connecting Symbian Devices
38 When you install \QSDK, the build and run settings for Symbian devices
39 are set up automatically in \QC. You only need to install and launch
40 the CODA on-device debugging agent on the devices and connect the devices
41 to the development PC.
43 Make sure that PC Suite or Ovi Suite are installed on the development PC.
44 Connect the device to the development PC with an USB cable in
45 PC Suite or Ovi Suite Mode. If you have not previously used the device with
47 or PC Suite, all the necessary drivers are installed automatically.
48 This takes approximately one minute.
50 You can run Qt applications on Symbian devices if the software that Qt
51 applications require (typically Qt, Qt Mobility, QtWebkit, and Open C) is
52 installed on the device. On Symbian^3 and later devices, some version of Qt
53 is pre-installed. To deploy applications to earlier devices, you can package
54 the application with Nokia Smart Installer for Symbian to automatically
55 install the modules that Qt applications require. For more information about
56 which Qt modules are supported on-demand for different Symbian device
58 \l{http://www.developer.nokia.com/Community/Wiki/Nokia_Smart_Installer_for_Symbian}
59 {Nokia Smart Installer for Symbian}.
63 To run and debug applications on Symbian devices from \QC, you must
64 install the CODA on-device debugging agent on the device. For more
67 \l{Using On-device Debugging Agents}.
69 \l{http://doc.qt.nokia.com/qtcreator/creator-developing-symbian.html#using-on-device-debugging-agents}
70 {Using On-device Debugging Agents}.
74 The tool chain for building applications locally on the development PC for
75 the \gui {Symbian Device} target is only supported on Windows.
76 If you develop on Linux or Mac OS, you must use the Remote Compiler
77 interface to a compilation service at Nokia Developer. You can install
78 Remote Compiler as part of the \QSDK. For more information, see
80 \l{Building with Remote Compiler}.
82 \l{http://doc.qt.nokia.com/qtcreator/creator-remote-compiler.html}
83 {Building with Remote Compiler}.
87 For more information about developing applications for the Symbian
88 platform, select \gui {Help > Index} and look for \gui {Platform Notes},
90 \l{http://doc.qt.nokia.com/4.7/platform-notes-symbian.html}{Platform Notes - Symbian}.
93 To run your applications in the Symbian emulator, you also need
94 to install Carbide.c++ v2.0.0 or higher.
97 \section1 Using On-device Debugging Agents
99 Support for the App TRK on-device debugging agent has been removed from
100 \QC 2.3. Only CODA is supported. It offers the following benefits:
104 \o Extensive error information
106 \o Debugging over WLAN
108 \o Extensive information about the device
112 \note CODA does not support debugging over a Bluetooth connection.
114 \section2 Installing Debugging Agents
116 CODA installation packages are delivered together with the \QSDK. On
117 Windows, you can use \gui Start menu commands to install CODA on Symbian
120 You can also download CODA from the
121 \l{http://tools.ext.nokia.com/coda/}{CODA download server}.
123 \section1 Setting Up Qt Creator
125 When you run \QC after installing the Symbian SDK and Qt for
126 Symbian, the installed SDKs and their corresponding Qt versions are
127 automatically detected. For each detected Symbian SDK with Qt, a special entry
128 is made in the Qt version management settings in \gui{Tools} >
129 \gui{Options} > \gui{Qt4} > \gui{Qt Versions}.
131 If you manually add a Qt version for Symbian, you must
132 also manually specify the Symbian SDK to use for this version.
134 For more information about adding Qt versions and tool chains, see
135 \l{Setting Up Qt for Symbian Versions} and \l{Adding Tool Chains}.
137 \section1 Building and Running Applications
139 You can test your application on a device by building and running
140 it from \QC for the \gui {Symbian Device} target.
144 \o Connect the device to the development PC through a USB cable.
145 The target selector displays a green check mark when a
148 \image qtcreator-qt4-symbian-device-connected.png
150 The tool tip of the target selector shows more details about the actual
151 device that will be used when you run your application.
153 \o Start the CODA debugging agent on the device.
155 \o Select \gui Options to select USB as connection type.
157 \o Click \gui Projects to edit the \gui {Build Settings} for the
158 \gui {Symbian Device} target. Select the Qt version to use for building
159 the application. For more information, see
160 \l{Selecting Qt for Symbian Versions}.
162 \o Click the \gui Run button in \QC.
166 \section2 Selecting Qt for Symbian Versions
168 When you select the Qt for Symbian version to build the application with, consider
169 which version provides the application with the widest support on different
170 Symbian platforms. The binary compatibility promise of Qt and Symbian means
171 that applications that are built against Qt 4.6.3 also run on Qt 4.7.3.
172 Similarly, applications that are supported on S60 5th Edition are also
174 on Symbian^3. However, dependencies, such as Qt Quick or Qt Mobility API
175 versions might restrict the choice of Qt versions that you have.
177 In general, if you use only Qt 4.6 APIs in the application, you
178 can use \gui {Qt 4.6.3 for Symbian^1} to build it.
179 The application is supported on both Symbian^1 and Symbian^3 devices.
181 If you use Qt Quick in the application, you can use \gui {Qt 4.7.3 for
182 Symbian^1} to build it. The application is supported on both Symbian^1 and
185 \note The tool chains for developing applications for S60 3rd Edition
186 devices have been removed from \QSDK 1.1. To develop for these early
187 devices, use an earlier version of \QSDK.
189 If you use native Symbian APIs, you must check that they are available on
190 the target devices. For more information about the API differences between
191 Symbian platforms, see the \bold {Symbian
192 Reference Documentation for Qt}, which is delivered together with \QSDK
193 and which you can view in the \gui Help mode.
195 You can use a set of ready-made UI components called Qt Quick Components
196 for Symbian that enforce a Nokia UI look and feel.
198 \note We recomment that you use Qt Quick Components version 1.1, because
199 they contain usability and other improvements. The same set of devices
200 supports both 1.0 and 1.1.
203 The following table summarizes the supported configurations for each Qt
204 version available in \QC build settings:
210 \i Qt Quick Components
211 \i Qt Mobility Version
212 \i Native Symbian C++ APIs
215 \i Qt 4.6.3 for Symbian^1 (S60 5th Edition)
222 \i Qt 4.6.3 for Symbian^3
229 \i Qt 4.7.3 for Symbian^1
236 \i Qt 4.7.3 for Symbian^3 and Symbian Anna
238 \i Yes \omit 1.0 \endomit
243 \i Qt 4.7.4 for Symbian Belle
245 \i Yes \omit 1.1 \endomit