| 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"
|
|---|
| 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 | # Support backup & restore for Qt libraries
|
|---|
| 82 | qtbackup.sources = backup_registration.xml
|
|---|
| 83 | qtbackup.path = c:/private/10202D56/import/packages/$$replace(TARGET.UID3, 0x,)
|
|---|
| 84 |
|
|---|
| 85 | DEPLOYMENT += qtresources qtlibraries qtbackup imageformats_plugins codecs_plugins graphicssystems_plugins
|
|---|
| 86 |
|
|---|
| 87 | contains(QT_CONFIG, svg): {
|
|---|
| 88 | qtlibraries.sources += QtSvg.dll
|
|---|
| 89 | imageformats_plugins.sources += qsvg.dll
|
|---|
| 90 | iconengines_plugins.sources = qsvgicon.dll
|
|---|
| 91 | iconengines_plugins.path = c:$$QT_PLUGINS_BASE_DIR/iconengines
|
|---|
| 92 | DEPLOYMENT += iconengines_plugins
|
|---|
| 93 | }
|
|---|
| 94 |
|
|---|
| 95 | contains(QT_CONFIG, phonon): {
|
|---|
| 96 | qtlibraries.sources += phonon.dll
|
|---|
| 97 | }
|
|---|
| 98 |
|
|---|
| 99 | contains(QT_CONFIG, script): {
|
|---|
| 100 | qtlibraries.sources += QtScript.dll
|
|---|
| 101 | }
|
|---|
| 102 |
|
|---|
| 103 | contains(QT_CONFIG, xmlpatterns): {
|
|---|
| 104 | qtlibraries.sources += QtXmlPatterns.dll
|
|---|
| 105 | }
|
|---|
| 106 |
|
|---|
| 107 | contains(QT_CONFIG, declarative): {
|
|---|
| 108 | qtlibraries.sources += QtDeclarative.dll
|
|---|
| 109 | }
|
|---|
| 110 |
|
|---|
| 111 | graphicssystems_plugins.path = c:$$QT_PLUGINS_BASE_DIR/graphicssystems
|
|---|
| 112 | contains(QT_CONFIG, openvg) {
|
|---|
| 113 | qtlibraries.sources += QtOpenVG.dll
|
|---|
| 114 | graphicssystems_plugins.sources += qvggraphicssystem.dll
|
|---|
| 115 | }
|
|---|
| 116 |
|
|---|
| 117 | contains(QT_CONFIG, multimedia) {
|
|---|
| 118 | qtlibraries.sources += QtMultimedia.dll
|
|---|
| 119 | }
|
|---|
| 120 |
|
|---|
| 121 | BLD_INF_RULES.prj_exports += "qt.iby $$CORE_MW_LAYER_IBY_EXPORT_PATH(qt.iby)"
|
|---|
| 122 | BLD_INF_RULES.prj_exports += "qtdemoapps.iby $$CORE_APP_LAYER_IBY_EXPORT_PATH(qtdemoapps.iby)"
|
|---|
| 123 | }
|
|---|