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

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

trunk: Merged in qt 4.6.1 sources.

  • Property svn:eol-style set to native
File size: 4.5 KB
Line 
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
10 TARGET = "Qt"
11 TARGET.UID3 = 0x2001E61C
12 VERSION=$${QT_MAJOR_VERSION}.$${QT_MINOR_VERSION}.$${QT_PATCH_VERSION}
13
14 qtresources.sources = $${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/s60main.rsc
15 qtresources.path = c:$$APP_RESOURCE_DIR
16
17 qtlibraries.sources = \
18 QtCore.dll \
19 QtXml.dll \
20 QtGui.dll \
21 QtNetwork.dll \
22 QtTest.dll \
23 QtSql.dll
24
25 qts60plugindeployment = \
26 "IF package(0x1028315F)" \
27 " \"$${EPOCROOT}epoc32/release/$(PLATFORM)/$(TARGET)/qts60plugin_5_0.dll\" - \"c:\\sys\\bin\\qts60plugin_5_0.dll\"" \
28 "ELSEIF package(0x102752AE)" \
29 " \"$${EPOCROOT}epoc32/release/$(PLATFORM)/$(TARGET)/qts60plugin_3_2.dll\" - \"c:\\sys\\bin\\qts60plugin_3_2.dll\"" \
30 "ELSEIF package(0x102032BE)" \
31 " \"$${EPOCROOT}epoc32/release/$(PLATFORM)/$(TARGET)/qts60plugin_3_1.dll\" - \"c:\\sys\\bin\\qts60plugin_3_1.dll\"" \
32 "ELSE" \
33 " \"$${EPOCROOT}epoc32/release/$(PLATFORM)/$(TARGET)/qts60plugin_5_0.dll\" - \"c:\\sys\\bin\\qts60plugin_5_0.dll\"" \
34 "ENDIF"
35 qtlibraries.pkg_postrules += qts60plugindeployment
36
37 sqlitedeployment = \
38 "; Deploy sqlite onto phone that does not have it already" \
39 "@\"$$PWD/sqlite3.sis\", (0x2002af5f)"
40 qtlibraries.pkg_postrules += sqlitedeployment
41
42 qtlibraries.path = c:/sys/bin
43
44 vendorinfo = \
45 "; Localised Vendor name" \
46 "%{\"Nokia, Qt\"}" \
47 " " \
48 "; Unique Vendor name" \
49 ":\"Nokia, Qt\"" \
50 " "
51
52
53 qtlibraries.pkg_prerules = vendorinfo
54 qtlibraries.pkg_prerules += "; Dependencies of Qt libraries"
55 qtlibraries.pkg_prerules += "(0x20013851), 1, 5, 1, {\"PIPS Installer\"}"
56 contains(QT_CONFIG, openssl) | contains(QT_CONFIG, openssl-linked) {
57 qtlibraries.pkg_prerules += "(0x200110CB), 1, 5, 1, {\"Open C LIBSSL Common\"}"
58 }
59 contains(CONFIG, stl) {
60 qtlibraries.pkg_prerules += "(0x2000F866), 1, 0, 0, {\"Standard C++ Library Common\"}"
61 }
62 qtlibraries.pkg_prerules += "(0x2002af5f), 0, 5, 0, {\"sqlite3\"}"
63
64 !contains(QT_CONFIG, no-jpeg): imageformats_plugins.sources += qjpeg.dll
65 !contains(QT_CONFIG, no-gif): imageformats_plugins.sources += qgif.dll
66 !contains(QT_CONFIG, no-mng): imageformats_plugins.sources += qmng.dll
67 !contains(QT_CONFIG, no-tiff): imageformats_plugins.sources += qtiff.dll
68 !contains(QT_CONFIG, no-ico): imageformats_plugins.sources += qico.dll
69 imageformats_plugins.path = c:$$QT_PLUGINS_BASE_DIR/imageformats
70
71 codecs_plugins.sources = qcncodecs.dll qjpcodecs.dll qtwcodecs.dll qkrcodecs.dll
72 codecs_plugins.path = c:$$QT_PLUGINS_BASE_DIR/codecs
73
74 contains(QT_CONFIG, phonon-backend) {
75 phonon_backend_plugins.sources += phonon_mmf.dll
76
77 phonon_backend_plugins.path = c:$$QT_PLUGINS_BASE_DIR/phonon_backend
78 DEPLOYMENT += phonon_backend_plugins
79 }
80
81 DEPLOYMENT += qtresources qtlibraries imageformats_plugins codecs_plugins graphicssystems_plugins
82
83 contains(QT_CONFIG, svg): {
84 qtlibraries.sources += QtSvg.dll
85 imageformats_plugins.sources += qsvg.dll
86 iconengines_plugins.sources = qsvgicon.dll
87 iconengines_plugins.path = c:$$QT_PLUGINS_BASE_DIR/iconengines
88 DEPLOYMENT += iconengines_plugins
89 }
90
91 contains(QT_CONFIG, phonon): {
92 qtlibraries.sources += phonon.dll
93 }
94
95 contains(QT_CONFIG, script): {
96 qtlibraries.sources += QtScript.dll
97 }
98
99 contains(QT_CONFIG, xmlpatterns): {
100 qtlibraries.sources += QtXmlPatterns.dll
101 }
102
103 contains(QT_CONFIG, declarative): {
104 qtlibraries.sources += QtDeclarative.dll
105 }
106
107 graphicssystems_plugins.path = c:$$QT_PLUGINS_BASE_DIR/graphicssystems
108 contains(QT_CONFIG, openvg) {
109 qtlibraries.sources += QtOpenVG.dll
110 graphicssystems_plugins.sources += qvggraphicssystem.dll
111 }
112
113 BLD_INF_RULES.prj_exports += "qt.iby $$CORE_MW_LAYER_IBY_EXPORT_PATH(qt.iby)"
114 BLD_INF_RULES.prj_exports += "qtdemoapps.iby $$CORE_APP_LAYER_IBY_EXPORT_PATH(qtdemoapps.iby)"
115 PLUGIN_STUBS = $$files(qmakepluginstubs/*)
116 for(STUB, PLUGIN_STUBS) {
117 STUB_FILENAME = $$basename(STUB)
118 BLD_INF_RULES.prj_exports += "qmakepluginstubs/$${STUB_FILENAME} /epoc32/data/qt/qtlibspluginstubs/$${STUB_FILENAME}"
119 }
120}
Note: See TracBrowser for help on using the repository browser.