Changeset 769 for trunk/doc/src/development/qmake-manual.qdoc
- Timestamp:
- Aug 2, 2010, 9:27:30 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.6.3 (added) merged: 768 /branches/vendor/nokia/qt/current merged: 767 /branches/vendor/nokia/qt/4.6.2 removed
- Property svn:mergeinfo changed
-
trunk/doc/src/development/qmake-manual.qdoc
r651 r769 859 859 XCode build system. 860 860 861 Furthermore, The selected "Active Build Configuration" is stored861 Furthermore, the selected "Active Build Configuration" is stored 862 862 in a .pbxuser file, which is generated by xcode on first load, not 863 863 created by qmake. … … 980 980 If \c UID3 is not specified, qmake will automatically generate a \c UID3 981 981 suitable for development and debugging. This value should be manually 982 specified for applications that are to be released. In order to o ptain982 specified for applications that are to be released. In order to obtain 983 983 an official UID, please contact Nokia. Both \c SID and \c VID default to empty values. 984 984 … … 1422 1422 override languages statement, you must override also package-header 1423 1423 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: 1424 1431 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 1430 1438 For example: 1431 1439 … … 1728 1736 \snippet doc/src/snippets/code/doc_src_qmake-manual.qdoc 139 1729 1737 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 1730 1745 \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 1732 1747 \c TARGET.EPOCSTACKSIZE. 1733 1748 Doing so could result in duplicate statements in the MMP file. … … 2878 2893 \snippet doc/src/snippets/code/doc_src_qmake-manual.qdoc 144 2879 2894 2880 This will add the specified statement to the end of the generated2881 re gistration resource file. As an impact of this statement, the application2882 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. 2883 2898 2884 2899 It is also possible to add multiple rows in a single block. Each double … … 2893 2908 be launched in background. 2894 2909 2895 For detailed list of possible RSSstatements, please refer to the2896 Symbian platform help. 2910 For detailed list of possible \c APP_REGISTRATION_INFO statements, please refer to the 2911 Symbian platform help. 2897 2912 2898 2913 \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. 2905 2940 2906 2941 \target S60_VERSION … … 2961 2996 2962 2997 \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 2963 3026 2964 3027 \target TARGET … … 3505 3568 \section1 Properties 3506 3569 3507 \c qmake has a system of persist ant information, this allows you to3570 \c qmake has a system of persistent information, this allows you to 3508 3571 \c set a variable in qmake once, and each time qmake is invoked this 3509 3572 value can be queried. Use the following to set a property in qmake: … … 3683 3746 dependent .prl files, continuing until all libraries have been resolved. 3684 3747 At this point, the Makefile is created as usual, and the libraries are 3685 linked explicitly yagainst the application.3748 linked explicitly against the application. 3686 3749 3687 3750 The internals of the .prl file are left closed so they can easily
Note:
See TracChangeset
for help on using the changeset viewer.