source: trunk/src/s60installs/s60installs.pro@ 783

Last change on this file since 783 was 769, checked in by Dmitry A. Kuminov, 15 years ago

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

  • Property svn:eol-style set to native
File size: 5.6 KB
RevLine 
[556]1# Use subdirs template to suppress generation of unnecessary files
2TEMPLATE = subdirs
3
4symbian: {
5 load(data_caging_paths)
6
7 SUBDIRS=
8 # WARNING: Changing TARGET name will break Symbian SISX upgrade functionality
9 # DO NOT TOUCH TARGET VARIABLE IF YOU ARE NOT SURE WHAT YOU ARE DOING
[769]10 TARGET = "Qt$${QT_LIBINFIX}"
11
12 isEmpty(QT_LIBINFIX) {
13 TARGET.UID3 = 0x2001E61C
14
15 # sqlite3 is expected to be already found on phone if infixed configuration is built.
16 BLD_INF_RULES.prj_exports += \
17 "sqlite3.sis $${EPOCROOT}epoc32/data/qt/sis/sqlite3.sis" \
18 "sqlite3_selfsigned.sis $${EPOCROOT}epoc32/data/qt/sis/sqlite3_selfsigned.sis"
19 sqlitedeployment = \
20 "; Deploy sqlite onto phone that does not have it already" \
21 "@\"$${EPOCROOT}epoc32/data/qt/sis/sqlite3.sis\", (0x2002af5f)"
22 qtlibraries.pkg_postrules += sqlitedeployment
23 } else {
24 # Always use experimental UID for infixed configuration to avoid UID clash
25 TARGET.UID3 = 0xE001E61C
26 }
[556]27 VERSION=$${QT_MAJOR_VERSION}.$${QT_MINOR_VERSION}.$${QT_PATCH_VERSION}
28
[769]29 qtresources.sources = $${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/s60main$${QT_LIBINFIX}.rsc
[556]30 qtresources.path = c:$$APP_RESOURCE_DIR
[769]31 DEPLOYMENT += qtresources
[556]32
33 qtlibraries.sources = \
[769]34 QtCore$${QT_LIBINFIX}.dll \
35 QtXml$${QT_LIBINFIX}.dll \
36 QtGui$${QT_LIBINFIX}.dll \
37 QtNetwork$${QT_LIBINFIX}.dll \
38 QtTest$${QT_LIBINFIX}.dll \
39 QtSql$${QT_LIBINFIX}.dll
[556]40
41 qts60plugindeployment = \
42 "IF package(0x1028315F)" \
[769]43 " \"$${EPOCROOT}epoc32/release/$(PLATFORM)/$(TARGET)/qts60plugin_5_0$${QT_LIBINFIX}.dll\" - \"c:\\sys\\bin\\qts60plugin_5_0$${QT_LIBINFIX}.dll\"" \
[556]44 "ELSEIF package(0x102752AE)" \
[769]45 " \"$${EPOCROOT}epoc32/release/$(PLATFORM)/$(TARGET)/qts60plugin_3_2$${QT_LIBINFIX}.dll\" - \"c:\\sys\\bin\\qts60plugin_3_2$${QT_LIBINFIX}.dll\"" \
[556]46 "ELSEIF package(0x102032BE)" \
[769]47 " \"$${EPOCROOT}epoc32/release/$(PLATFORM)/$(TARGET)/qts60plugin_3_1$${QT_LIBINFIX}.dll\" - \"c:\\sys\\bin\\qts60plugin_3_1$${QT_LIBINFIX}.dll\"" \
[556]48 "ELSE" \
[769]49 " \"$${EPOCROOT}epoc32/release/$(PLATFORM)/$(TARGET)/qts60plugin_5_0$${QT_LIBINFIX}.dll\" - \"c:\\sys\\bin\\qts60plugin_5_0$${QT_LIBINFIX}.dll\"" \
[556]50 "ENDIF"
51 qtlibraries.pkg_postrules += qts60plugindeployment
52
53
54 qtlibraries.path = c:/sys/bin
55
56 vendorinfo = \
57 "; Localised Vendor name" \
58 "%{\"Nokia, Qt\"}" \
59 " " \
60 "; Unique Vendor name" \
61 ":\"Nokia, Qt\"" \
62 " "
63
64
65 qtlibraries.pkg_prerules = vendorinfo
66 qtlibraries.pkg_prerules += "; Dependencies of Qt libraries"
67 qtlibraries.pkg_prerules += "(0x20013851), 1, 5, 1, {\"PIPS Installer\"}"
68 contains(QT_CONFIG, openssl) | contains(QT_CONFIG, openssl-linked) {
69 qtlibraries.pkg_prerules += "(0x200110CB), 1, 5, 1, {\"Open C LIBSSL Common\"}"
70 }
71 contains(CONFIG, stl) {
72 qtlibraries.pkg_prerules += "(0x2000F866), 1, 0, 0, {\"Standard C++ Library Common\"}"
73 }
74 qtlibraries.pkg_prerules += "(0x2002af5f), 0, 5, 0, {\"sqlite3\"}"
75
[769]76 !contains(QT_CONFIG, no-jpeg): imageformats_plugins.sources += qjpeg$${QT_LIBINFIX}.dll
77 !contains(QT_CONFIG, no-gif): imageformats_plugins.sources += qgif$${QT_LIBINFIX}.dll
78 !contains(QT_CONFIG, no-mng): imageformats_plugins.sources += qmng$${QT_LIBINFIX}.dll
79 !contains(QT_CONFIG, no-tiff): imageformats_plugins.sources += qtiff$${QT_LIBINFIX}.dll
80 !contains(QT_CONFIG, no-ico): imageformats_plugins.sources += qico$${QT_LIBINFIX}.dll
[556]81 imageformats_plugins.path = c:$$QT_PLUGINS_BASE_DIR/imageformats
82
[769]83 codecs_plugins.sources = qcncodecs$${QT_LIBINFIX}.dll qjpcodecs$${QT_LIBINFIX}.dll qtwcodecs$${QT_LIBINFIX}.dll qkrcodecs$${QT_LIBINFIX}.dll
[556]84 codecs_plugins.path = c:$$QT_PLUGINS_BASE_DIR/codecs
85
86 contains(QT_CONFIG, phonon-backend) {
[769]87 phonon_backend_plugins.sources += phonon_mmf$${QT_LIBINFIX}.dll
[556]88
89 phonon_backend_plugins.path = c:$$QT_PLUGINS_BASE_DIR/phonon_backend
90 DEPLOYMENT += phonon_backend_plugins
91 }
92
[651]93 # Support backup & restore for Qt libraries
94 qtbackup.sources = backup_registration.xml
95 qtbackup.path = c:/private/10202D56/import/packages/$$replace(TARGET.UID3, 0x,)
[556]96
[769]97 DEPLOYMENT += qtlibraries qtbackup imageformats_plugins codecs_plugins graphicssystems_plugins
[651]98
[556]99 contains(QT_CONFIG, svg): {
[769]100 qtlibraries.sources += QtSvg$${QT_LIBINFIX}.dll
101 imageformats_plugins.sources += qsvg$${QT_LIBINFIX}.dll
102 iconengines_plugins.sources = qsvgicon$${QT_LIBINFIX}.dll
[556]103 iconengines_plugins.path = c:$$QT_PLUGINS_BASE_DIR/iconengines
104 DEPLOYMENT += iconengines_plugins
105 }
106
107 contains(QT_CONFIG, phonon): {
[769]108 qtlibraries.sources += phonon$${QT_LIBINFIX}.dll
[556]109 }
110
111 contains(QT_CONFIG, script): {
[769]112 qtlibraries.sources += QtScript$${QT_LIBINFIX}.dll
[556]113 }
114
115 contains(QT_CONFIG, xmlpatterns): {
[769]116 qtlibraries.sources += QtXmlPatterns$${QT_LIBINFIX}.dll
[556]117 }
118
119 contains(QT_CONFIG, declarative): {
[769]120 qtlibraries.sources += QtDeclarative$${QT_LIBINFIX}.dll
[556]121 }
122
123 graphicssystems_plugins.path = c:$$QT_PLUGINS_BASE_DIR/graphicssystems
124 contains(QT_CONFIG, openvg) {
[769]125 qtlibraries.sources += QtOpenVG$${QT_LIBINFIX}.dll
126 graphicssystems_plugins.sources += qvggraphicssystem$${QT_LIBINFIX}.dll
[556]127 }
128
[651]129 contains(QT_CONFIG, multimedia) {
[769]130 qtlibraries.sources += QtMultimedia$${QT_LIBINFIX}.dll
[651]131 }
132
[556]133 BLD_INF_RULES.prj_exports += "qt.iby $$CORE_MW_LAYER_IBY_EXPORT_PATH(qt.iby)"
[769]134 BLD_INF_RULES.prj_exports += "qtdemoapps.iby $$CUSTOMER_VARIANT_APP_LAYER_IBY_EXPORT_PATH(qtdemoapps.iby)"
[556]135}
Note: See TracBrowser for help on using the repository browser.