src/s60installs/s60installs.pro
changeset 3 41300fa6a67c
parent 0 1918ee327afb
child 4 3b1da2848fc7
equal deleted inserted replaced
2:56cd8111b7f7 3:41300fa6a67c
    10     TARGET = "Qt"
    10     TARGET = "Qt"
    11     TARGET.UID3 = 0x2001E61C
    11     TARGET.UID3 = 0x2001E61C
    12     VERSION=$${QT_MAJOR_VERSION}.$${QT_MINOR_VERSION}.$${QT_PATCH_VERSION}
    12     VERSION=$${QT_MAJOR_VERSION}.$${QT_MINOR_VERSION}.$${QT_PATCH_VERSION}
    13 
    13 
    14     qtresources.sources = $${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/s60main.rsc
    14     qtresources.sources = $${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/s60main.rsc
    15     qtresources.path = $$APP_RESOURCE_DIR
    15     qtresources.path = c:$$APP_RESOURCE_DIR
    16 
    16 
    17     qtlibraries.sources = \
    17     qtlibraries.sources = \
    18         QtCore.dll \
    18         QtCore.dll \
    19         QtXml.dll \
    19         QtXml.dll \
    20         QtGui.dll \
    20         QtGui.dll \
    22         QtTest.dll \
    22         QtTest.dll \
    23         QtSql.dll
    23         QtSql.dll
    24 
    24 
    25     qts60plugindeployment = \
    25     qts60plugindeployment = \
    26         "IF package(0x1028315F)" \
    26         "IF package(0x1028315F)" \
    27         "   \"$${EPOCROOT}epoc32/release/$(PLATFORM)/$(TARGET)/qts60plugin_5_0.dll\" - \"!:\\sys\\bin\\qts60plugin_5_0.dll\"" \
    27         "   \"$${EPOCROOT}epoc32/release/$(PLATFORM)/$(TARGET)/qts60plugin_5_0.dll\" - \"c:\\sys\\bin\\qts60plugin_5_0.dll\"" \
    28         "ELSEIF package(0x102752AE)" \
    28         "ELSEIF package(0x102752AE)" \
    29         "   \"$${EPOCROOT}epoc32/release/$(PLATFORM)/$(TARGET)/qts60plugin_3_2.dll\" - \"!:\\sys\\bin\\qts60plugin_3_2.dll\"" \
    29         "   \"$${EPOCROOT}epoc32/release/$(PLATFORM)/$(TARGET)/qts60plugin_3_2.dll\" - \"c:\\sys\\bin\\qts60plugin_3_2.dll\"" \
    30         "ELSEIF package(0x102032BE)" \
    30         "ELSEIF package(0x102032BE)" \
    31         "   \"$${EPOCROOT}epoc32/release/$(PLATFORM)/$(TARGET)/qts60plugin_3_1.dll\" - \"!:\\sys\\bin\\qts60plugin_3_1.dll\"" \
    31         "   \"$${EPOCROOT}epoc32/release/$(PLATFORM)/$(TARGET)/qts60plugin_3_1.dll\" - \"c:\\sys\\bin\\qts60plugin_3_1.dll\"" \
    32         "ELSE" \
    32         "ELSE" \
    33         "   \"$${EPOCROOT}epoc32/release/$(PLATFORM)/$(TARGET)/qts60plugin_5_0.dll\" - \"!:\\sys\\bin\\qts60plugin_5_0.dll\"" \
    33         "   \"$${EPOCROOT}epoc32/release/$(PLATFORM)/$(TARGET)/qts60plugin_5_0.dll\" - \"c:\\sys\\bin\\qts60plugin_5_0.dll\"" \
    34         "ENDIF"
    34         "ENDIF"
    35     qtlibraries.pkg_postrules += qts60plugindeployment
    35     qtlibraries.pkg_postrules += qts60plugindeployment
    36 
    36 
    37     sqlitedeployment = \
    37     sqlitedeployment = \
    38         "; EXISTS statement does not resolve !. Lets check the most common drives" \
    38         "; Deploy sqlite onto phone that does not have it (this should be replaced with embedded sis file when available)" \
    39         "IF NOT EXISTS(\"c:\\sys\\bin\\sqlite3.dll\") AND NOT EXISTS(\"e:\\sys\\bin\\sqlite3.dll\") AND NOT EXISTS(\"z:\\sys\\bin\\sqlite3.dll\")" \
    39         "IF NOT package(0x2002533b) " \
    40         "\"$${EPOCROOT}epoc32/release/$(PLATFORM)/$(TARGET)/sqlite3.dll\" - \"!:\\sys\\bin\\sqlite3.dll\"" \
    40         "\"$${EPOCROOT}epoc32/release/$(PLATFORM)/$(TARGET)/sqlite3.dll\" - \"c:\\sys\\bin\\sqlite3.dll\"" \
    41         "ENDIF"
    41         "ENDIF"
    42     qtlibraries.pkg_postrules += sqlitedeployment
    42     qtlibraries.pkg_postrules += sqlitedeployment
    43 
    43 
    44     qtlibraries.path = /sys/bin
    44     qtlibraries.path = c:/sys/bin
    45 
    45 
    46     vendorinfo = \
    46     vendorinfo = \
    47         "; Localised Vendor name" \
    47         "; Localised Vendor name" \
    48         "%{\"Nokia, Qt\"}" \
    48         "%{\"Nokia, Qt\"}" \
    49         " " \
    49         " " \
    68     !contains(QT_CONFIG, no-jpeg): imageformats_plugins.sources += qjpeg.dll
    68     !contains(QT_CONFIG, no-jpeg): imageformats_plugins.sources += qjpeg.dll
    69     !contains(QT_CONFIG, no-gif):  imageformats_plugins.sources += qgif.dll
    69     !contains(QT_CONFIG, no-gif):  imageformats_plugins.sources += qgif.dll
    70     !contains(QT_CONFIG, no-mng):  imageformats_plugins.sources += qmng.dll
    70     !contains(QT_CONFIG, no-mng):  imageformats_plugins.sources += qmng.dll
    71     !contains(QT_CONFIG, no-tiff): imageformats_plugins.sources += qtiff.dll
    71     !contains(QT_CONFIG, no-tiff): imageformats_plugins.sources += qtiff.dll
    72     !contains(QT_CONFIG, no-ico):  imageformats_plugins.sources += qico.dll
    72     !contains(QT_CONFIG, no-ico):  imageformats_plugins.sources += qico.dll
    73     imageformats_plugins.path = $$QT_PLUGINS_BASE_DIR/imageformats
    73     imageformats_plugins.path = c:$$QT_PLUGINS_BASE_DIR/imageformats
    74 
    74 
    75     codecs_plugins.sources = qcncodecs.dll qjpcodecs.dll qtwcodecs.dll qkrcodecs.dll
    75     codecs_plugins.sources = qcncodecs.dll qjpcodecs.dll qtwcodecs.dll qkrcodecs.dll
    76     codecs_plugins.path = $$QT_PLUGINS_BASE_DIR/codecs
    76     codecs_plugins.path = c:$$QT_PLUGINS_BASE_DIR/codecs
    77 
    77 
    78     contains(QT_CONFIG, phonon-backend) {
    78     contains(QT_CONFIG, phonon-backend) {
    79         phonon_backend_plugins.sources += phonon_mmf.dll
    79         phonon_backend_plugins.sources += phonon_mmf.dll
    80 
    80 
    81         phonon_backend_plugins.path = $$QT_PLUGINS_BASE_DIR/phonon_backend
    81         phonon_backend_plugins.path = c:$$QT_PLUGINS_BASE_DIR/phonon_backend
    82         DEPLOYMENT += phonon_backend_plugins
    82         DEPLOYMENT += phonon_backend_plugins
    83     }
    83     }
    84 
    84 
    85     DEPLOYMENT += qtresources qtlibraries imageformats_plugins codecs_plugins graphicssystems_plugins
    85     DEPLOYMENT += qtresources qtlibraries imageformats_plugins codecs_plugins graphicssystems_plugins
    86 
    86 
    87     contains(QT_CONFIG, svg): {
    87     contains(QT_CONFIG, svg): {
    88        qtlibraries.sources += QtSvg.dll
    88        qtlibraries.sources += QtSvg.dll
    89        imageformats_plugins.sources += qsvg.dll
    89        imageformats_plugins.sources += qsvg.dll
    90        iconengines_plugins.sources = qsvgicon.dll
    90        iconengines_plugins.sources = qsvgicon.dll
    91        iconengines_plugins.path = $$QT_PLUGINS_BASE_DIR/iconengines
    91        iconengines_plugins.path = c:$$QT_PLUGINS_BASE_DIR/iconengines
    92        DEPLOYMENT += iconengines_plugins
    92        DEPLOYMENT += iconengines_plugins
    93     }
    93     }
    94 
    94 
    95     contains(QT_CONFIG, phonon): {
    95     contains(QT_CONFIG, phonon): {
    96        qtlibraries.sources += Phonon.dll
    96        qtlibraries.sources += phonon.dll
    97     }
    97     }
    98 
    98 
    99     contains(QT_CONFIG, script): {
    99     contains(QT_CONFIG, script): {
   100         qtlibraries.sources += QtScript.dll
   100         qtlibraries.sources += QtScript.dll
   101     }
   101     }
   102 
   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 
   103     contains(QT_CONFIG, webkit): {
   111     contains(QT_CONFIG, webkit): {
   104         qtlibraries.sources += QtWebKit.dll
   112         qtlibraries.sources += QtWebKit.dll
   105     }
   113     }
   106 
   114 
   107     graphicssystems_plugins.path = $$QT_PLUGINS_BASE_DIR/graphicssystems
   115     graphicssystems_plugins.path = c:$$QT_PLUGINS_BASE_DIR/graphicssystems
   108     contains(QT_CONFIG, openvg) {
   116     contains(QT_CONFIG, openvg) {
   109         qtlibraries.sources += QtOpenVG.dll
   117         qtlibraries.sources += QtOpenVG.dll
   110         graphicssystems_plugins.sources += qvggraphicssystem.dll
   118         graphicssystems_plugins.sources += qvggraphicssystem.dll
   111     }
   119     }
   112 
   120 
   113     #BLD_INF_RULES.prj_exports += "qt.iby $$CORE_MW_LAYER_IBY_EXPORT_PATH(qt.iby)"
   121     #BLD_INF_RULES.prj_exports += "qt.iby $$CORE_MW_LAYER_IBY_EXPORT_PATH(qt.iby)"
   114     #:QTP:QTPROD-220: Qt Examples should be exported to tools-layer
   122     #:QTP:QTPROD-220: Qt Examples should be exported to tools-layer
   115     #BLD_INF_RULES.prj_exports += "qtdemoapps.iby $$CORE_ADAPT_LAYER_IBY_EXPORT_PATH(core/tools/qtdemoapps.iby)"
   123     #BLD_INF_RULES.prj_exports += "qtdemoapps.iby $$CUSTOMER_VARIANT_APP_LAYER_IBY_EXPORT_PATH(qtdemoapps.iby)"
   116 }
   124 }
       
   125