Ignore:
Timestamp:
May 5, 2011, 5:36:53 AM (14 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.7.2 sources from branches/vendor/nokia/qt.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/doc/src/platforms/symbian-introduction.qdoc

    r769 r846  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation (qt-info@nokia.com)
     
    77** This file is part of the documentation of the Qt Toolkit.
    88**
    9 ** $QT_BEGIN_LICENSE:LGPL$
     9** $QT_BEGIN_LICENSE:FDL$
    1010** Commercial Usage
    1111** Licensees holding valid Qt Commercial licenses may use this file in
    1212** 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.
    3521**
    3622** If you have questions regarding the use of this file, please contact
     
    4430    \title Qt for the Symbian platform
    4531    \ingroup qt-embedded
    46     \brief Documents related to Qt on the Symbian platform
     32    \brief Documents related to Qt for the Symbian platform
    4733
    4834    Qt for Symbian is a C++ framework for GUI and application development
     
    5743     \list
    5844        \o \l {Qt for the Symbian platform Requirements}
    59         \o \l {Installing Qt on the Symbian platform from a Binary Package}
    60         \o \l {Installing Qt on the Symbian platform}
     45        \o \l {Installing Qt for the Symbian platform from a Binary Package}
     46        \o \l {Installing Qt for the Symbian platform}
    6147        \o \l {The Symbian platform - Introduction to Qt}{Introduction to using Qt}
    6248    \endlist
     
    6450    \list
    6551        \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}
    6753        \o \l {qmake Platform Notes#Symbian platform} {Qt for Symbian extensions for qmake}
     54        \o \l {Symbian Platform Security Requirements} {Symbian Platform Security Requirements}
    6855    \endlist
    6956    \o
     
    7562
    7663/*!
     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/*!
    7780    \page symbian-with-qt-introduction.html
    7881
     
    8487    \tableofcontents
    8588
    86     \section1 Required tools
     89    \section1 Required Tools
    8790
    8891    See \l{Qt for the Symbian platform Requirements} to see what tools are
    8992    required to use Qt for the Symbian platform.
    9093
    91     \section1 Installing Qt and running demos
    92 
    93     Follow the instructions found in \l{Installing Qt on the 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}
    9497    to learn how to install Qt using a binary package and how to build and run Qt demos.
    9598
    96     Follow the instructions found in \l{Installing Qt on the Symbian platform} to learn how to install Qt using
     99    Follow the instructions found in \l{Installing Qt for the Symbian platform} to learn how to install Qt using
    97100    using source package and how to build and run the Qt demos.
    98101
    99     \section1 Building your own applications
     102    \section1 Building Your Own Applications
    100103
    101104    If you are new to Qt development, have a look at \l{How to Learn Qt}.
     
    110113
    111114    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.
    113118
    114119    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:
    118128
    119129    \table
     
    127137    \row \o \c run           \o Run the application on the emulator.
    128138    \row \o \c runonphone    \o Run the application on a device.
     139    \row \o \c deploy        \o Deploys the project into a device.
    129140    \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.
    130142    \row \o \c installer_sis \o Create signed \l{Smart Installer}{smart installer}
    131143                                \c .sis file for project.
     
    133145                                missing dependencies in addition to
    134146                                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.
    135158    \row \o \c stub_sis      \o Create a stub sis to allow upgradability of projects
    136159                                that are deployed in ROM
     
    145168    by right clicking on the project explorer and executing "Import...".
    146169
    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
    156191
    157192    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.)
    160194    The signed \c .sis file can be created with \c make \c sis target. \c sis target
    161195    is only supported for executables or projects with \c DEPLOYMENT statements.
     
    186220    \endtable
    187221
    188     The suppported options for \c QT_SIS_OPTIONS:
     222    The supported options for \c QT_SIS_OPTIONS:
    189223
    190224    \target Supported options for QT_SIS_OPTIONS
     
    192226    \row \o -i                  \o Install the package right away using PC suite.
    193227    \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.
    195235    \endtable
    196236
    197237    Execute the \c{createpackage.pl} script without any
    198     parameters for detailed information about options. By default no otions are given.
     238    parameters for detailed information about options. By default no options are given.
    199239
    200240    For example:
     
    206246    \snippet doc/src/snippets/code/doc_src_symbian-introduction.qdoc 3
    207247
    208     If you want to install the program immediately, make sure that the device
    209     is connected to the computer in "PC Suite" mode, and run \c sis target
    210     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:
    211251
    212252    \snippet doc/src/snippets/code/doc_src_symbian-introduction.qdoc 5
    213253
    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.
    233269*/
Note: See TracChangeset for help on using the changeset viewer.