homescreenapp/common.pri
changeset 92 6727c5d0afc7
parent 85 35368b604b28
equal deleted inserted replaced
85:35368b604b28 92:6727c5d0afc7
    76                 $$PWD/../../homescreensrv/homescreensrv_plat/homescreen_information_api/inc
    76                 $$PWD/../../homescreensrv/homescreensrv_plat/homescreen_information_api/inc
    77 }
    77 }
    78 
    78 
    79 plugin: !isEmpty(PLUGIN_SUBDIR): DESTDIR = $$OUTPUT_DIR/$$PLUGIN_SUBDIR
    79 plugin: !isEmpty(PLUGIN_SUBDIR): DESTDIR = $$OUTPUT_DIR/$$PLUGIN_SUBDIR
    80 
    80 
    81 !symbian: plugin { # copy manifiers
    81 !symbian: plugin { # copy service xml
    82     manifest.path = $$DESTDIR
    82     manifest.path = $$DESTDIR
    83     manifest.files = ./resource/*.manifest ./resource/*.xml
    83     manifest.files = ./resource/*.xml
    84     manifest.CONFIG += no_build
    84     manifest.CONFIG += no_build
    85 
    85 
    86     INSTALLS += manifest
    86     INSTALLS += manifest
    87     PRE_TARGETDEPS += install_manifest
    87     PRE_TARGETDEPS += install_manifest
    88 
       
    89 }
    88 }
    90 
    89 
    91 symbian: plugin { # copy qtstub and manifest
    90 symbian: plugin { # copy qtstub and manifest
    92 
    91 
    93     pluginstub.sources = $${TARGET}.dll
    92     pluginstub.sources = $${TARGET}.dll
    95 
    94 
    96     DEPLOYMENT += pluginstub
    95     DEPLOYMENT += pluginstub
    97 
    96 
    98     qtplugins.path = $$PLUGIN_SUBDIR
    97     qtplugins.path = $$PLUGIN_SUBDIR
    99     qtplugins.sources += qmakepluginstubs/$${TARGET}.qtplugin
    98     qtplugins.sources += qmakepluginstubs/$${TARGET}.qtplugin
   100     
    99 
   101     hs_public_plugin {
   100     CONFIG += qtservice
   102       contains(MOBILITY, serviceframework):BLD_INF_RULES.prj_exports += "resource/$${TARGET}.xml z:/private/20022F35/$${TARGET}.xml"
   101     QTSERVICE.DESCRIPTOR = ./resource/$${TARGET}.xml
   103     } else {
       
   104       contains(MOBILITY, serviceframework):BLD_INF_RULES.prj_exports += "resource/$${TARGET}.xml z:$$qtplugins.path/$${TARGET}.xml"
       
   105     }
       
   106     
   102     
   107     for(qtplugin, qtplugins.sources):BLD_INF_RULES.prj_exports += "./$$qtplugin z:$$qtplugins.path/$$basename(qtplugin)"
   103     for(qtplugin, qtplugins.sources):BLD_INF_RULES.prj_exports += "./$$qtplugin z:$$qtplugins.path/$$basename(qtplugin)"
   108 }
   104 }
   109 
   105 
   110 defineTest(exportResources) {
   106 defineTest(exportResources) {