Ignore:
Timestamp:
Aug 2, 2010, 9:27:30 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

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

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/doc/src/development/qmake-manual.qdoc

    r651 r769  
    859859    XCode build system.
    860860
    861     Furthermore, The selected "Active Build Configuration" is stored
     861    Furthermore, the selected "Active Build Configuration" is stored
    862862    in a .pbxuser file, which is generated by xcode on first load, not
    863863    created by qmake.
     
    980980    If \c UID3 is not specified, qmake will automatically generate a \c UID3
    981981    suitable for development and debugging. This value should be manually
    982     specified for applications that are to be released. In order to optain
     982    specified for applications that are to be released. In order to obtain
    983983    an official UID, please contact Nokia. Both \c SID and \c VID default to empty values.
    984984
     
    14221422    override languages statement, you must override also package-header
    14231423    statement and all other statements which are language specific.
     1424
     1425    On the Symbian platform, the \c default_deployment item specifies
     1426    default platform and package dependencies. Those dependencies can be
     1427    selectively disabled if alternative dependencies need to be defined
     1428    - e.g. if a specific device is required to run the application or
     1429    more languages need to be supported by the package file. The supported
     1430    \c default_deployment rules that can be disabled are:
    14241431   
    1425     On the Symbian platform, the \c default_deployment item specifies
    1426     default platform dependencies. It can be overwritten if a more
    1427     restrictive set is needed - e.g. if a specific
    1428     device is required to run the application.
    1429    
     1432    \list
     1433    \o pkg_depends_qt
     1434    \o pkg_depends_webkit
     1435    \o pkg_platform_dependencies
     1436    \endlist
     1437
    14301438    For example:
    14311439   
     
    17281736    \snippet doc/src/snippets/code/doc_src_qmake-manual.qdoc 139
    17291737
     1738    There is also a convenience function for adding conditional rules
     1739    called \c{addMMPRules}. Suppose you need certain functionality
     1740    to require different library depending on architecture. This
     1741    can be specified with \c{addMMPRules} as follows:
     1742
     1743    \snippet doc/src/snippets/code/doc_src_qmake-manual.qdoc 148
     1744
    17301745    \note You should not use this variable to add MMP statements that are
    1731     explicitly supported by their own variables, such as 
     1746    explicitly supported by their own variables, such as
    17321747    \c TARGET.EPOCSTACKSIZE.
    17331748    Doing so could result in duplicate statements in the MMP file.
     
    28782893    \snippet doc/src/snippets/code/doc_src_qmake-manual.qdoc 144
    28792894   
    2880     This will add the specified statement to the end of the generated
    2881     registration resource file. As an impact of this statement, the application
    2882     will not be visible in application shell.
     2895    This will add the specified statement to the end of the \c APP_REGISTRATION_INFO
     2896    resource struct in the generated registration resource file.
     2897    As an impact of this statement, the application will not be visible in application shell.
    28832898   
    28842899    It is also possible to add multiple rows in a single block. Each double
     
    28932908    be launched in background.
    28942909
    2895     For detailed list of possible RSS statements, please refer to the
    2896     Symbian platform help.   
     2910    For detailed list of possible \c APP_REGISTRATION_INFO statements, please refer to the
     2911    Symbian platform help.
    28972912
    28982913    \note You should not use \c RSS_RULES variable to set the following RSS statements:
    2899    
    2900     app_file
    2901     localisable_resource_file
    2902     localisable_resource_id
    2903 
    2904     These statements are internally handled by qmake.     
     2914    \c app_file, \c localisable_resource_file, and \c localisable_resource_id.
     2915
     2916    These statements are internally handled by qmake.
     2917
     2918    There is a number of special modifiers you can attach to \c RSS_RULES to specify where
     2919    in the application registration file the rule will be written:
     2920
     2921    \table
     2922    \header \o Modifier \o Location of the rule
     2923    \row \o <no modifier>        \o Inside \c APP_REGISTRATION_INFO resource struct.
     2924    \row \o .header              \o Before \c APP_REGISTRATION_INFO resource struct.
     2925    \row \o .footer              \o After \c APP_REGISTRATION_INFO resource struct.
     2926    \row \o .service_list        \o Inside a \c SERVICE_INFO item in the \c service_list
     2927                                 of \c APP_REGISTRATION_INFO
     2928    \row \o .file_ownership_list \o Inside a \c FILE_OWNERSHIP_INFO item in the
     2929                                 \c file_ownership_list of \c APP_REGISTRATION_INFO
     2930    \row \o .datatype_list       \o Inside a \c DATATYPE item in the \c datatype_list of
     2931                                 \c APP_REGISTRATION_INFO
     2932    \endtable
     2933
     2934    For example:
     2935
     2936    \snippet doc/src/snippets/code/doc_src_qmake-manual.qdoc 151
     2937
     2938    This example will define service information for a fictional service that requires
     2939    an icon to be supplied via the \c opaque_data of the service information.
    29052940
    29062941    \target S60_VERSION
     
    29612996
    29622997    \snippet doc/src/snippets/code/doc_src_qmake-manual.qdoc 51
     2998
     2999    It is possible to modify this default behavior of \c SUBDIRS by giving
     3000    additional modifiers to \c SUBDIRS elements. Supported modifiers are:
     3001
     3002    \table
     3003    \header \o Modifier \o Effect
     3004    \row \o .subdir     \o Use the specified subdirectory instead of \c SUBDIRS value.
     3005    \row \o .file       \o Specify the subproject \c pro file explicitly. Cannot be
     3006                        used in conjunction with \c .subdir modifier.
     3007    \row \o .condition  \o Specifies a \c bld.inf define that must be true for
     3008                        subproject to be built. Available only on Symbian platform.
     3009    \row \o .depends    \o This subproject depends on specified subproject.
     3010                        Available only on platforms that use makefiles.
     3011    \row \o .makefile   \o The makefile of subproject.
     3012                        Available only on platforms that use makefiles.
     3013    \row \o .target     \o Base string used for makefile targets related to this
     3014                        subproject.
     3015                        Available only on platforms that use makefiles.
     3016    \endtable
     3017
     3018    For example, define two subdirectories, both of which reside in a different directory
     3019    than the \c SUBDIRS value, and one of the subdirectories must be built before the other:
     3020
     3021    \snippet doc/src/snippets/code/doc_src_qmake-manual.qdoc 149
     3022
     3023    For example, define a subdirectory that is only build for emulator builds in Qt for Symbian:
     3024
     3025    \snippet doc/src/snippets/code/doc_src_qmake-manual.qdoc 150
    29633026
    29643027    \target TARGET
     
    35053568    \section1 Properties
    35063569
    3507     \c qmake has a system of persistant information, this allows you to
     3570    \c qmake has a system of persistent information, this allows you to
    35083571    \c set a variable in qmake once, and each time qmake is invoked this
    35093572    value can be queried. Use the following to set a property in qmake:
     
    36833746    dependent .prl files, continuing until all libraries have been resolved.
    36843747    At this point, the Makefile is created as usual, and the libraries are
    3685     linked explicitlyy against the application.
     3748    linked explicitly against the application.
    36863749
    36873750    The internals of the .prl file are left closed so they can easily
Note: See TracChangeset for help on using the changeset viewer.