qtmobility/src/s60installs/s60installs.pro
changeset 14 6fbed849b4f4
parent 8 71781823f776
child 15 1f895d8a5b2b
equal deleted inserted replaced
11:06b8e2af4411 14:6fbed849b4f4
     1 TEMPLATE = subdirs
     1 TEMPLATE = subdirs
     2 
     2 
     3 symbian: {
     3 isEmpty(QT_LIBINFIX):symbian {
     4     include(../../staticconfig.pri)
     4     include(../../staticconfig.pri)
     5     load(data_caging_paths)
     5     load(data_caging_paths)
     6     include($$QT_MOBILITY_BUILD_TREE/config.pri)
     6     include($$QT_MOBILITY_BUILD_TREE/config.pri)
     7 
     7 
     8     SUBDIRS =
     8     SUBDIRS =
   119     }
   119     }
   120 
   120 
   121     contains(mobility_modules, multimedia) {
   121     contains(mobility_modules, multimedia) {
   122 
   122 
   123         qtmobilitydeployment.sources += \
   123         qtmobilitydeployment.sources += \
   124             $${EPOCROOT50}epoc32/release/$(PLATFORM)/$(TARGET)/QtMedia.dll \
   124             $$(EPOCROOT50)epoc32/release/$(PLATFORM)/$(TARGET)/QtMultimedia.dll \
   125             $${EPOCROOT50}epoc32/release/$(PLATFORM)/$(TARGET)/qtmedia_m3u.dll
   125             $$(EPOCROOT50)epoc32/release/$(PLATFORM)/$(TARGET)/qtmultimedia_m3u.dll
   126 
   126 
   127         multimedia = \
   127         multimedia = \
   128             "IF package(0x1028315F)" \
   128             "IF package(0x1028315F)" \
   129             "   \"$${EPOCROOT50}epoc32/release/$(PLATFORM)/$(TARGET)/qtmedia_mmfengine.dll\" - \"!:\\sys\\bin\\qtmedia_mmfengine.dll\"" \
   129             "   \"$$EPOCROOT50\epoc32/release/$(PLATFORM)/$(TARGET)/qtmultimedia_mmfengine.dll\" - \"!:\\sys\\bin\\qtmultimedia_mmfengine.dll\"" \
   130             "ELSEIF package(0x102752AE)" \
   130             "ELSEIF package(0x102752AE)" \
   131             "   \"$${EPOCROOT32}epoc32/release/$(PLATFORM)/$(TARGET)/qtmedia_mmfengine.dll\" - \"!:\\sys\\bin\\qtmedia_mmfengine.dll\"" \
   131             "   \"$$EPOCROOT32\epoc32/release/$(PLATFORM)/$(TARGET)/qtmultimedia_mmfengine.dll\" - \"!:\\sys\\bin\\qtmultimedia_mmfengine.dll\"" \
   132             "ELSEIF package(0x102032BE)" \
   132             "ELSEIF package(0x102032BE)" \
   133             "   \"$${EPOCROOT31}epoc32/release/$(PLATFORM)/$(TARGET)/qtmedia_mmfengine.dll\" - \"!:\\sys\\bin\\qtmedia_mmfengine.dll\"" \
   133             "   \"$$EPOCROOT31\epoc32/release/$(PLATFORM)/$(TARGET)/qtmultimedia_mmfengine.dll\" - \"!:\\sys\\bin\\qtmultimedia_mmfengine.dll\"" \
   134             "ELSE" \
   134             "ELSE" \
   135             "   \"$${EPOCROOT50}epoc32/release/$(PLATFORM)/$(TARGET)/qtmedia_mmfengine.dll\" - \"!:\\sys\\bin\\qtmedia_mmfengine.dll\"" \
   135             "   \"$${EPOCROOT50}epoc32/release/$(PLATFORM)/$(TARGET)/qtmultimedia_mmfengine.dll\" - \"!:\\sys\\bin\\qtmultimedia_mmfengine.dll\"" \
   136             "ENDIF"
   136             "ENDIF"
   137 
   137 
       
   138 
   138         qtmobilitydeployment.pkg_postrules += multimedia
   139         qtmobilitydeployment.pkg_postrules += multimedia
   139 
   140 
       
   141         contains(openmaxal_symbian_enabled, yes) {
       
   142             openmax = \
       
   143                 "IF package(0x20022E6D)" \
       
   144                 "   \"$${EPOCROOT50}epoc32/release/$(PLATFORM)/$(TARGET)/qtmultimedia_xarecordservice.dll\" - \"!:\\sys\\bin\\qtmultimedia_xarecordservice.dll\"" \
       
   145                 "ENDIF"
       
   146 
       
   147             qtmobilitydeployment.pkg_postrules += openmax
       
   148 
       
   149             pluginstubs += \
       
   150                 "IF package(0x20022E6D)" \
       
   151                     "\"$$QT_MOBILITY_BUILD_TREE/plugins/multimedia/symbian/openmaxal/mediarecorder/qmakepluginstubs/qtmultimedia_xarecordservice.qtplugin\" - \"!:\\resource\\qt\\plugins\\mediaservice\\qtmultimedia_xarecordservice.qtplugin\"" \
       
   152                 "ENDIF"
       
   153         }
       
   154 
   140         pluginstubs += \
   155         pluginstubs += \
   141             "\"$$QT_MOBILITY_BUILD_TREE/plugins/multimedia/symbian/mmf/qmakepluginstubs/qtmedia_mmfengine.qtplugin\" - \"!:\\resource\\qt\\plugins\\mediaservice\\qtmedia_mmfengine.qtplugin\"" \
   156             "\"$$QT_MOBILITY_BUILD_TREE/plugins/multimedia/symbian/mmf/qmakepluginstubs/qtmultimedia_mmfengine.qtplugin\" - \"!:\\resource\\qt\\plugins\\mediaservice\\qtmultimedia_mmfengine.qtplugin\"" \
   142             "\"$$QT_MOBILITY_BUILD_TREE/plugins/multimedia/m3u/qmakepluginstubs/qtmedia_m3u.qtplugin\"     - \"!:\\resource\\qt\\plugins\\playlistformats\\qtmedia_m3u.qtplugin\""
   157             "\"$$QT_MOBILITY_BUILD_TREE/plugins/multimedia/m3u/qmakepluginstubs/qtmultimedia_m3u.qtplugin\"     - \"!:\\resource\\qt\\plugins\\playlistformats\\qtmultimedia_m3u.qtplugin\"" \
   143     }
   158     }
   144 
   159 
   145     contains(mobility_modules, sensors) {
   160     contains(mobility_modules, sensors) {
   146 
   161 
   147         qtmobilitydeployment.sources += \
   162         qtmobilitydeployment.sources += \
   152         equals(sensors_s60_31_enabled,yes) {
   167         equals(sensors_s60_31_enabled,yes) {
   153             sensors += \
   168             sensors += \
   154                 "IF package(0x102032BE)" \
   169                 "IF package(0x102032BE)" \
   155                 "   \"$${EPOCROOT31}epoc32/release/$(PLATFORM)/$(TARGET)/qtsensors_s60sensorapi.dll\" - \"!:\\sys\\bin\\qtsensor_s60sensorapi.dll\"" \
   170                 "   \"$${EPOCROOT31}epoc32/release/$(PLATFORM)/$(TARGET)/qtsensors_s60sensorapi.dll\" - \"!:\\sys\\bin\\qtsensor_s60sensorapi.dll\"" \
   156                 "   \"$${EPOCROOT31}epoc32/release/$(PLATFORM)/$(TARGET)/qtsensors_generic.dll\" - \"!:\\sys\\bin\\qtsensors_generic.dll\"" \
   171                 "   \"$${EPOCROOT31}epoc32/release/$(PLATFORM)/$(TARGET)/qtsensors_generic.dll\" - \"!:\\sys\\bin\\qtsensors_generic.dll\"" \
   157                 "ELSEIF package(0x102752AE)" \
       
   158                 "   \"$${EPOCROOT32}epoc32/release/$(PLATFORM)/$(TARGET)/qtsensors_s60sensorapi.dll\" - \"!:\\sys\\bin\\sensors_sym.dll\"" \
       
   159                 "   \"$${EPOCROOT32}epoc32/release/$(PLATFORM)/$(TARGET)/qtsensors_generic.dll\" - \"!:\\sys\\bin\\qtsensors_generic.dll\"" \
       
   160                 "ENDIF"
   172                 "ENDIF"
   161         } else:equals(sensors_symbian_enabled,yes) {
   173         } else:equals(sensors_symbian_enabled,yes) {
   162             sensors += \
   174             sensors += \
   163                 "IF package(0x1028315F)" \
   175                 "IF package(0x102752AE)" \
   164                 "   \"$${EPOCROOT31}epoc32/release/$(PLATFORM)/$(TARGET)/sensors_sym.dll\" - \"!:\\sys\\bin\\sensors_sym.dll\"" \
   176                 "   \"$${EPOCROOT32}epoc32/release/$(PLATFORM)/$(TARGET)/qtsensors_sym.dll\" - \"!:\\sys\\bin\\qtsensors_sym.dll\"" \
   165                 "   \"$${EPOCROOT31}epoc32/release/$(PLATFORM)/$(TARGET)/qtsensors_generic.dll\" - \"!:\\sys\\bin\\qtsensors_generic.dll\"" \
       
   166                 "ELSEIF package(0x102752AE)" \
       
   167                 "   \"$${EPOCROOT32}epoc32/release/$(PLATFORM)/$(TARGET)/sensors_sym.dll\" - \"!:\\sys\\bin\\sensors_sym.dll\"" \
       
   168                 "   \"$${EPOCROOT32}epoc32/release/$(PLATFORM)/$(TARGET)/qtsensors_generic.dll\" - \"!:\\sys\\bin\\qtsensors_generic.dll\"" \
   177                 "   \"$${EPOCROOT32}epoc32/release/$(PLATFORM)/$(TARGET)/qtsensors_generic.dll\" - \"!:\\sys\\bin\\qtsensors_generic.dll\"" \
   169                 "ELSE" \
   178                 "ELSE" \
   170                 "   \"$${EPOCROOT50}epoc32/release/$(PLATFORM)/$(TARGET)/sensors_sym.dll\" - \"!:\\sys\\bin\\sensors_sym.dll\"" \
   179                 "   \"$${EPOCROOT50}epoc32/release/$(PLATFORM)/$(TARGET)/qtsensors_sym.dll\" - \"!:\\sys\\bin\\qtsensors_sym.dll\"" \
   171                 "   \"$${EPOCROOT50}epoc32/release/$(PLATFORM)/$(TARGET)/qtsensors_generic.dll\" - \"!:\\sys\\bin\\qtsensors_generic.dll\"" \
   180                 "   \"$${EPOCROOT50}epoc32/release/$(PLATFORM)/$(TARGET)/qtsensors_generic.dll\" - \"!:\\sys\\bin\\qtsensors_generic.dll\"" \
   172                 "ENDIF"
   181                 "ENDIF"
   173         }
   182         }
   174 
   183 
   175         !isEmpty(sensors):qtmobilitydeployment.pkg_postrules += sensors
   184         !isEmpty(sensors):qtmobilitydeployment.pkg_postrules += sensors
   178             pluginstubs += \
   187             pluginstubs += \
   179                 "\"$$QT_MOBILITY_BUILD_TREE/plugins/sensors/s60_sensor_api/qmakepluginstubs/qtsensors_s60sensorapi.qtplugin\"  - \"!:\\resource\\qt\\plugins\\sensors\\qtsensors_s60sensorapi.qtplugin\""\
   188                 "\"$$QT_MOBILITY_BUILD_TREE/plugins/sensors/s60_sensor_api/qmakepluginstubs/qtsensors_s60sensorapi.qtplugin\"  - \"!:\\resource\\qt\\plugins\\sensors\\qtsensors_s60sensorapi.qtplugin\""\
   180                 "\"$$QT_MOBILITY_BUILD_TREE/plugins/sensors/generic/qmakepluginstubs/qtsensors_generic.qtplugin\"  - \"!:\\resource\\qt\\plugins\\sensors\\qtsensors_generic.qtplugin\""
   189                 "\"$$QT_MOBILITY_BUILD_TREE/plugins/sensors/generic/qmakepluginstubs/qtsensors_generic.qtplugin\"  - \"!:\\resource\\qt\\plugins\\sensors\\qtsensors_generic.qtplugin\""
   181         } else:equals(sensors_symbian_enabled,yes) {
   190         } else:equals(sensors_symbian_enabled,yes) {
   182             pluginstubs += \
   191             pluginstubs += \
   183                 "\"$$QT_MOBILITY_BUILD_TREE/plugins/sensors/symbian/qmakepluginstubs/sensors_sym.qtplugin\"  - \"!:\\resource\\qt\\plugins\\sensors\\sensors_sym.qtplugin\""\
   192                 "\"$$QT_MOBILITY_BUILD_TREE/plugins/sensors/symbian/qmakepluginstubs/qtsensors_sym.qtplugin\"  - \"!:\\resource\\qt\\plugins\\sensors\\qtsensors_sym.qtplugin\""\
   184                 "\"$$QT_MOBILITY_BUILD_TREE/plugins/sensors/generic/qmakepluginstubs/qtsensors_generic.qtplugin\"  - \"!:\\resource\\qt\\plugins\\sensors\\qtsensors_generic.qtplugin\""
   193                 "\"$$QT_MOBILITY_BUILD_TREE/plugins/sensors/generic/qmakepluginstubs/qtsensors_generic.qtplugin\"  - \"!:\\resource\\qt\\plugins\\sensors\\qtsensors_generic.qtplugin\""
   185         }
   194         }
   186 
   195 
   187     }
   196     }
   188 
   197 
   189     qtmobilitydeployment.pkg_postrules += pluginstubs
   198     !isEmpty(pluginstubs):qtmobilitydeployment.pkg_postrules += pluginstubs
   190 
   199 
   191     qtmobilitydeployment.path = /sys/bin
   200     qtmobilitydeployment.path = /sys/bin
   192 
   201 
   193     DEPLOYMENT += qtmobilitydeployment
   202     DEPLOYMENT += qtmobilitydeployment
   194     
   203     
   195     BLD_INF_RULES.prj_exports += "./qtmobility.iby           $$CORE_MW_LAYER_IBY_EXPORT_PATH(qtmobility.iby)"
   204     BLD_INF_RULES.prj_exports += "./qtmobility.iby           $$CORE_MW_LAYER_IBY_EXPORT_PATH(qtmobility.iby)"
   196     BLD_INF_RULES.prj_exports += "./qtmobility_stub.sis      /epoc32/data/z/system/install/qtmobility_stub.sis"
   205     BLD_INF_RULES.prj_exports += "./qtmobility_stub.sis      /epoc32/data/z/system/install/qtmobility_stub.sis"
       
   206 
       
   207 } else {
       
   208     message(Deployment of infixed library names not supported)
   197 }
   209 }