Changeset 846 for trunk/doc/src/platforms/symbian-introduction.qdoc
- Timestamp:
- May 5, 2011, 5:36:53 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.7.2 (added) merged: 845 /branches/vendor/nokia/qt/current merged: 844 /branches/vendor/nokia/qt/4.6.3 removed
- Property svn:mergeinfo changed
-
trunk/doc/src/platforms/symbian-introduction.qdoc
r769 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation (qt-info@nokia.com) … … 7 7 ** This file is part of the documentation of the Qt Toolkit. 8 8 ** 9 ** $QT_BEGIN_LICENSE: LGPL$9 ** $QT_BEGIN_LICENSE:FDL$ 10 10 ** Commercial Usage 11 11 ** Licensees holding valid Qt Commercial licenses may use this file in 12 12 ** accordance with the Qt Commercial License Agreement provided with the 13 ** Software or, alternatively, in accordance with the terms contained in 14 ** a written agreement between you and Nokia. 15 ** 16 ** GNU Lesser General Public License Usage 17 ** Alternatively, this file may be used under the terms of the GNU Lesser 18 ** General Public License version 2.1 as published by the Free Software 19 ** Foundation and appearing in the file LICENSE.LGPL included in the 20 ** packaging of this file. Please review the following information to 21 ** ensure the GNU Lesser General Public License version 2.1 requirements 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 23 ** 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 ** 28 ** GNU General Public License Usage 29 ** Alternatively, this file may be used under the terms of the GNU 30 ** General Public License version 3.0 as published by the Free Software 31 ** Foundation and appearing in the file LICENSE.GPL included in the 32 ** packaging of this file. Please review the following information to 33 ** ensure the GNU General Public License version 3.0 requirements will be 34 ** met: http://www.gnu.org/copyleft/gpl.html. 13 ** Software or, alternatively, in accordance with the terms contained in a 14 ** written agreement between you and Nokia. 15 ** 16 ** GNU Free Documentation License 17 ** Alternatively, this file may be used under the terms of the GNU Free 18 ** Documentation License version 1.3 as published by the Free Software 19 ** Foundation and appearing in the file included in the packaging of this 20 ** file. 35 21 ** 36 22 ** If you have questions regarding the use of this file, please contact … … 44 30 \title Qt for the Symbian platform 45 31 \ingroup qt-embedded 46 \brief Documents related to Qt onthe Symbian platform32 \brief Documents related to Qt for the Symbian platform 47 33 48 34 Qt for Symbian is a C++ framework for GUI and application development … … 57 43 \list 58 44 \o \l {Qt for the Symbian platform Requirements} 59 \o \l {Installing Qt onthe Symbian platform from a Binary Package}60 \o \l {Installing Qt onthe Symbian platform}45 \o \l {Installing Qt for the Symbian platform from a Binary Package} 46 \o \l {Installing Qt for the Symbian platform} 61 47 \o \l {The Symbian platform - Introduction to Qt}{Introduction to using Qt} 62 48 \endlist … … 64 50 \list 65 51 \o \l {Exception Safety with Symbian} 66 \o \l {Platform Notes - Symbian} {Qt for the Symbian platform - state of support}52 \o \l {Platform and Compiler Notes - Symbian} {Qt for the Symbian platform - state of support} 67 53 \o \l {qmake Platform Notes#Symbian platform} {Qt for Symbian extensions for qmake} 54 \o \l {Symbian Platform Security Requirements} {Symbian Platform Security Requirements} 68 55 \endlist 69 56 \o … … 75 62 76 63 /*! 64 \page symbian-platform-security-requirements.html 65 66 \title Symbian Platform Security Requirements 67 \ingroup qtsymbian 68 69 On Symbian, processes that access media via the network must 70 have the \c NetworkServices platform security capability. If the client 71 process lacks this capability, operations will result in errors. 72 This failure is indicated by a state() of Phonon::ErrorState. 73 74 Platform security capabilities are added via the 75 \l{qmake-variable-reference.html#target-capability}{TARGET.CAPABILITY} 76 qmake variable. 77 */ 78 79 /*! 77 80 \page symbian-with-qt-introduction.html 78 81 … … 84 87 \tableofcontents 85 88 86 \section1 Required tools89 \section1 Required Tools 87 90 88 91 See \l{Qt for the Symbian platform Requirements} to see what tools are 89 92 required to use Qt for the Symbian platform. 90 93 91 \section1 Installing Qt and running demos92 93 Follow the instructions found in \l{Installing Qt onthe Symbian platform from a Binary Package}94 \section1 Installing Qt and Running Demos 95 96 Follow the instructions found in \l{Installing Qt for the Symbian platform from a Binary Package} 94 97 to learn how to install Qt using a binary package and how to build and run Qt demos. 95 98 96 Follow the instructions found in \l{Installing Qt onthe Symbian platform} to learn how to install Qt using99 Follow the instructions found in \l{Installing Qt for the Symbian platform} to learn how to install Qt using 97 100 using source package and how to build and run the Qt demos. 98 101 99 \section1 Building your own applications102 \section1 Building Your Own Applications 100 103 101 104 If you are new to Qt development, have a look at \l{How to Learn Qt}. … … 110 113 111 114 For more information on how to use qmake have a look at the \l 112 {qmake Tutorial}. 115 {qmake Tutorial}. In particular, see the 116 \l{qmake Platform Notes#Symbian platform}{qmake Platform Notes} for 117 details of Symbian-specific build settings. 113 118 114 119 Now you can build the Qt for the Symbian platform application with 115 standard build tools. By default, running \c make will produce binaries for 116 the emulator. However, the Symbian platform comes with several alternative 117 build targets, as shown in the table below: 120 standard build tools. 121 122 \section2 Alternative Build Targets 123 124 By default, running \c make will produce binaries for the emulator. 125 However, the Symbian platform comes with several alternative 126 build targets that can be used to create binaries for target hardware 127 and deploy them on devices, as shown in the table below: 118 128 119 129 \table … … 127 137 \row \o \c run \o Run the application on the emulator. 128 138 \row \o \c runonphone \o Run the application on a device. 139 \row \o \c deploy \o Deploys the project into a device. 129 140 \row \o \c sis \o Create signed \c .sis file for project. 141 \row \o \c unsigned_sis \o Create unsigned \c .sis file for project. 130 142 \row \o \c installer_sis \o Create signed \l{Smart Installer}{smart installer} 131 143 \c .sis file for project. … … 133 145 missing dependencies in addition to 134 146 just installing the application. 147 Note: The application \c .sis contained in smart installer \c .sis 148 will be recreated and signed with same certificates as 149 smart installer \c .sis. 150 \row \o \c ok_installer_sis \o Otherwise similar to \c installer_sis target, except 151 the application sis will not be recreated. This is useful 152 when application \c .sis needs to be separately signed before 153 including it into smart installer \c .sis. 154 \row \o \c unsigned_installer_sis \o Create unsigned \l{Smart Installer}{smart installer} 155 \c .sis file for project. 156 Note: The application \c .sis contained in smart installer 157 \c .sis will also be unsigned. 135 158 \row \o \c stub_sis \o Create a stub sis to allow upgradability of projects 136 159 that are deployed in ROM … … 145 168 by right clicking on the project explorer and executing "Import...". 146 169 147 \section2 Smart Installer 148 149 The Smart Installer makes sure that deployed applications have all the Qt dependencies 150 they need to run on a device. 151 152 Download the latest release of the Smart Installer from \l{http://get.qt.nokia.com/nokiasmartinstaller/}, 153 and install it on top of the Qt package. 154 155 \section1 Installing your own applications 170 \section1 Running Applications from the Command Line 171 172 The application can be launched on the emulator using \c{make run} command. 173 174 The application can be launched on a device using \c{make runonphone} command. 175 When this command is invoked, a \c .sis file is first created as if \c{make sis} 176 command was invoked (see above for details). 177 \bold{Note:} Running the application on a device using this command requires 178 \c TRK application to be running on the device. 179 180 Additional environment variables that can be utilized with these commands are: 181 \table 182 \row \o \c QT_RUN_OPTIONS \o Any command line parameters you wish to pass 183 to your application. 184 \row \o \c QT_RUN_ON_PHONE_OPTIONS \o Options for runonphone application. 185 Execute \c runonphone from command line for 186 more information about available options. 187 \c{make runonphone} only. 188 \endtable 189 190 \section1 Installing Your Own Applications 156 191 157 192 To install your own applications on hardware, you need a signed \c .sis file. 158 (Refer to the \l{http://developer.symbian.org/wiki/index.php/Platform_Security_%28Fundamentals_of_Symbian_C%2B%2B%29#Self-Signed_Applications} 159 {Platform Security Article} for more informations about self-signing.) 193 (Refer to the \l{Symbian Platform Security} article for more informations about self-signing.) 160 194 The signed \c .sis file can be created with \c make \c sis target. \c sis target 161 195 is only supported for executables or projects with \c DEPLOYMENT statements. … … 186 220 \endtable 187 221 188 The supp ported options for \c QT_SIS_OPTIONS:222 The supported options for \c QT_SIS_OPTIONS: 189 223 190 224 \target Supported options for QT_SIS_OPTIONS … … 192 226 \row \o -i \o Install the package right away using PC suite. 193 227 \row \o -p \o Only preprocess the template \c .pkg file. 194 \row \o -c=<file> \o Read certificate information from a file. 228 \row \o -c <file> \o Read certificate information from a file. 229 \row \o -u \o Preserves unsigned package. 230 \row \o -o \o Creates only unsigned package. 231 \row \o -s \o Generates stub sis for ROM. 232 \row \o -n <name> \o Specifies the final sis name. 233 \row \o -g \o Treat gcce platform as armv5. 234 \row \o -d \o Skip automatic patching of the package when default certificate is used. 195 235 \endtable 196 236 197 237 Execute the \c{createpackage.pl} script without any 198 parameters for detailed information about options. By default no o tions are given.238 parameters for detailed information about options. By default no options are given. 199 239 200 240 For example: … … 206 246 \snippet doc/src/snippets/code/doc_src_symbian-introduction.qdoc 3 207 247 208 If you want to install the program immediately , make sure that the device209 is connected to the computer in "PC Suite" mode, and run \c sis target210 with the \c QT_SIS_OPTIONS=-i, like this:248 If you want to install the program immediately after creating \c .sis file, 249 make sure that the device is connected to the computer in "PC Suite" mode, 250 and use \c deploy target instead of \c sis target: 211 251 212 252 \snippet doc/src/snippets/code/doc_src_symbian-introduction.qdoc 5 213 253 214 \section1 Running applications from command line 215 216 The application can be launched on the emulator using \c{make run} command. 217 218 The application can be launched on a device using \c{make runonphone} command. 219 When this command is invoked, a \c .sis file is first created as if \c{make sis} 220 command was invoked (see above for details). 221 \bold{Note:} Running the application on a device using this command requires 222 \c TRK application to be running on the device. 223 224 Additional environment variables that can be utilized with these commands are: 225 \table 226 \row \o \c QT_RUN_OPTIONS \o Any command line parameters you wish to pass 227 to your application. 228 \row \o \c QT_RUN_ON_PHONE_OPTIONS \o Options for runonphone application. 229 Execute \c runonphone from command line for 230 more information about available options. 231 \c{make runonphone} only. 232 \endtable 254 \section1 Deployment and the Smart Installer 255 256 Although some Symbian devices may already have a version of Qt installed 257 on them, there needs to be a way to ensure that an appropriate version 258 of Qt is available for your application to use. Rather than deploy the 259 required Qt libraries with your application, the preferred way to 260 package Qt applications for deployment is to download and use the Smart 261 Installer. 262 263 The Smart Installer makes sure that deployed applications have all the 264 Qt dependencies they need to run on a device, performing the necessary 265 updates when the user installs the application. 266 267 More information about deployment can be found in the 268 \l{Deploying an Application on the Symbian Platform} document. 233 269 */
Note:
See TracChangeset
for help on using the changeset viewer.