1 | # Use subdirs template to suppress generation of unnecessary files
|
---|
2 | TEMPLATE = subdirs
|
---|
3 |
|
---|
4 | symbian: {
|
---|
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$${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 | }
|
---|
27 | VERSION=$${QT_MAJOR_VERSION}.$${QT_MINOR_VERSION}.$${QT_PATCH_VERSION}
|
---|
28 |
|
---|
29 | qtresources.sources = $${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/s60main$${QT_LIBINFIX}.rsc
|
---|
30 | qtresources.path = c:$$APP_RESOURCE_DIR
|
---|
31 | DEPLOYMENT += qtresources
|
---|
32 |
|
---|
33 | qtlibraries.sources = \
|
---|
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
|
---|
40 |
|
---|
41 | qts60plugindeployment = \
|
---|
42 | "IF package(0x1028315F)" \
|
---|
43 | " \"$${EPOCROOT}epoc32/release/$(PLATFORM)/$(TARGET)/qts60plugin_5_0$${QT_LIBINFIX}.dll\" - \"c:\\sys\\bin\\qts60plugin_5_0$${QT_LIBINFIX}.dll\"" \
|
---|
44 | "ELSEIF package(0x102752AE)" \
|
---|
45 | " \"$${EPOCROOT}epoc32/release/$(PLATFORM)/$(TARGET)/qts60plugin_3_2$${QT_LIBINFIX}.dll\" - \"c:\\sys\\bin\\qts60plugin_3_2$${QT_LIBINFIX}.dll\"" \
|
---|
46 | "ELSEIF package(0x102032BE)" \
|
---|
47 | " \"$${EPOCROOT}epoc32/release/$(PLATFORM)/$(TARGET)/qts60plugin_3_1$${QT_LIBINFIX}.dll\" - \"c:\\sys\\bin\\qts60plugin_3_1$${QT_LIBINFIX}.dll\"" \
|
---|
48 | "ELSE" \
|
---|
49 | " \"$${EPOCROOT}epoc32/release/$(PLATFORM)/$(TARGET)/qts60plugin_5_0$${QT_LIBINFIX}.dll\" - \"c:\\sys\\bin\\qts60plugin_5_0$${QT_LIBINFIX}.dll\"" \
|
---|
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 |
|
---|
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
|
---|
81 | imageformats_plugins.path = c:$$QT_PLUGINS_BASE_DIR/imageformats
|
---|
82 |
|
---|
83 | codecs_plugins.sources = qcncodecs$${QT_LIBINFIX}.dll qjpcodecs$${QT_LIBINFIX}.dll qtwcodecs$${QT_LIBINFIX}.dll qkrcodecs$${QT_LIBINFIX}.dll
|
---|
84 | codecs_plugins.path = c:$$QT_PLUGINS_BASE_DIR/codecs
|
---|
85 |
|
---|
86 | contains(QT_CONFIG, phonon-backend) {
|
---|
87 | phonon_backend_plugins.sources += phonon_mmf$${QT_LIBINFIX}.dll
|
---|
88 |
|
---|
89 | phonon_backend_plugins.path = c:$$QT_PLUGINS_BASE_DIR/phonon_backend
|
---|
90 | DEPLOYMENT += phonon_backend_plugins
|
---|
91 | }
|
---|
92 |
|
---|
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,)
|
---|
96 |
|
---|
97 | DEPLOYMENT += qtlibraries qtbackup imageformats_plugins codecs_plugins graphicssystems_plugins
|
---|
98 |
|
---|
99 | contains(QT_CONFIG, svg): {
|
---|
100 | qtlibraries.sources += QtSvg$${QT_LIBINFIX}.dll
|
---|
101 | imageformats_plugins.sources += qsvg$${QT_LIBINFIX}.dll
|
---|
102 | iconengines_plugins.sources = qsvgicon$${QT_LIBINFIX}.dll
|
---|
103 | iconengines_plugins.path = c:$$QT_PLUGINS_BASE_DIR/iconengines
|
---|
104 | DEPLOYMENT += iconengines_plugins
|
---|
105 | }
|
---|
106 |
|
---|
107 | contains(QT_CONFIG, phonon): {
|
---|
108 | qtlibraries.sources += phonon$${QT_LIBINFIX}.dll
|
---|
109 | }
|
---|
110 |
|
---|
111 | contains(QT_CONFIG, script): {
|
---|
112 | qtlibraries.sources += QtScript$${QT_LIBINFIX}.dll
|
---|
113 | }
|
---|
114 |
|
---|
115 | contains(QT_CONFIG, xmlpatterns): {
|
---|
116 | qtlibraries.sources += QtXmlPatterns$${QT_LIBINFIX}.dll
|
---|
117 | }
|
---|
118 |
|
---|
119 | contains(QT_CONFIG, declarative): {
|
---|
120 | qtlibraries.sources += QtDeclarative$${QT_LIBINFIX}.dll
|
---|
121 | }
|
---|
122 |
|
---|
123 | graphicssystems_plugins.path = c:$$QT_PLUGINS_BASE_DIR/graphicssystems
|
---|
124 | contains(QT_CONFIG, openvg) {
|
---|
125 | qtlibraries.sources += QtOpenVG$${QT_LIBINFIX}.dll
|
---|
126 | graphicssystems_plugins.sources += qvggraphicssystem$${QT_LIBINFIX}.dll
|
---|
127 | }
|
---|
128 |
|
---|
129 | contains(QT_CONFIG, multimedia) {
|
---|
130 | qtlibraries.sources += QtMultimedia$${QT_LIBINFIX}.dll
|
---|
131 | }
|
---|
132 |
|
---|
133 | BLD_INF_RULES.prj_exports += "qt.iby $$CORE_MW_LAYER_IBY_EXPORT_PATH(qt.iby)"
|
---|
134 | BLD_INF_RULES.prj_exports += "qtdemoapps.iby $$CUSTOMER_VARIANT_APP_LAYER_IBY_EXPORT_PATH(qtdemoapps.iby)"
|
---|
135 | }
|
---|