qtmobility/plugins/multimedia/symbian/mmf/mmf.pro
changeset 14 6fbed849b4f4
parent 8 71781823f776
child 15 1f895d8a5b2b
equal deleted inserted replaced
11:06b8e2af4411 14:6fbed849b4f4
     1 TEMPLATE = lib
     1 TEMPLATE = lib
     2 QT += multimedia
     2 
     3 CONFIG += plugin
     3 CONFIG += plugin
     4 TARGET = qtmedia_mmfengine
     4 TARGET = $$qtLibraryTarget(qtmultimedia_mmfengine)
     5 PLUGIN_TYPE = mediaservice
     5 PLUGIN_SUBDIR = mediaservice
     6 include (../../../../common.pri)
     6 include (../../../../common.pri)
     7 qtAddLibrary(QtMedia)
     7 qtAddLibrary(QtMultimedia)
     8 
     8 
     9 #includes here so that all defines are added here also
     9 #includes here so that all defines are added here also
    10 include (../common/symbiancommon.pri)
    10 #FIXME include (../common/symbiancommon.pri)
    11 include(mediaplayer/mediaplayer_s60.pri)
    11 include(mediaplayer/mediaplayer_s60.pri)
    12 include(radio/radio.pri)
    12 include(radio/radio.pri)
    13 
    13 
    14 # check if we are going to build openmax backend, if yes then disable mmf backend for audiorecording
    14 # we include mmf audiorecording only if we are not building openmaxal based backend
    15 exists($${EPOCROOT}epoc32/include/platform/mw/khronos/OpenMAXAL.h) {
    15 contains(openmaxal_symbian_enabled, no) {
    16     message("Not enabling mmf mediarecording backend")
       
    17 } else {
       
    18     message("Enabling mmf mediarecording backend")
    16     message("Enabling mmf mediarecording backend")
    19     include(audiosource/audiosource_s60.pri)
    17     include(audiosource/audiosource_s60.pri)
    20 }
    18 }
    21 
       
    22 
       
    23 
    19 
    24 DEPENDPATH += .
    20 DEPENDPATH += .
    25 INCLUDEPATH += . \
    21 INCLUDEPATH += . \
    26     $${SOURCE_DIR}/include \
    22     $${SOURCE_DIR}/include \
    27     $${SOURCE_DIR}/src/multimedia \
    23     $${SOURCE_DIR}/src/multimedia \
    47 pluginDep.sources = $${TARGET}.dll
    43 pluginDep.sources = $${TARGET}.dll
    48 pluginDep.path = $${QT_PLUGINS_BASE_DIR}/$${PLUGIN_TYPE}
    44 pluginDep.path = $${QT_PLUGINS_BASE_DIR}/$${PLUGIN_TYPE}
    49 DEPLOYMENT += pluginDep      
    45 DEPLOYMENT += pluginDep      
    50 
    46 
    51 #Media API spesific deployment
    47 #Media API spesific deployment
    52 QtMediaDeployment.sources = QtMedia.dll
    48 QtMediaDeployment.sources = QtMultimedia.dll
    53 QtMediaDeployment.path = /sys/bin
    49 QtMediaDeployment.path = /sys/bin
    54 
    50 
    55 DEPLOYMENT += QtMediaDeployment
    51 DEPLOYMENT += QtMediaDeployment