homescreenapp/examples/minibrowserwidgetplugin/minibrowserwidgetplugin.pro
changeset 92 6727c5d0afc7
parent 77 4b195f3bea29
child 90 3ac3aaebaee5
equal deleted inserted replaced
85:35368b604b28 92:6727c5d0afc7
    25 
    25 
    26 INCLUDEPATH += ./inc               
    26 INCLUDEPATH += ./inc               
    27 
    27 
    28 symbian: {
    28 symbian: {
    29 
    29 
    30     DESTDIR = /private/20022F35/import/widgetregistry/20022F6F
    30     WIDGET_DIR = /private/20022F35/import/widgetregistry/20022F6F
    31     INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE
    31     INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE
    32 
    32 
    33     TARGET.UID3 = 0x20022F6F
    33     TARGET.UID3 = 0x20022F6F
    34     TARGET.EPOCALLOWDLLDATA=1
    34     TARGET.EPOCALLOWDLLDATA=1
    35     TARGET.CAPABILITY = ALL -TCB
    35     TARGET.CAPABILITY = ALL -TCB
    36     
    36     
    37     plugins.path = $${DESTDIR}
    37     plugins.path = /resource/qt/plugins/homescreen
    38     plugins.sources = $${TARGET}.dll 
    38     plugins.sources = $${TARGET}.dll 
    39     
    39     
    40     widgetResources.path = $${DESTDIR}
    40     CONFIG += qtservice
    41     widgetResources.sources += resource/$${TARGET}.xml    
    41     QTSERVICE.DESCRIPTOR = resource/$${TARGET}.xml
       
    42     
       
    43     widgetResources.path = $${WIDGET_DIR}
    42     widgetResources.sources += resource/$${TARGET}.manifest
    44     widgetResources.sources += resource/$${TARGET}.manifest
       
    45     widgetResources.sources += resource/$${TARGET}.xml
    43     widgetResources.sources += resource/$${TARGET}preview.png
    46     widgetResources.sources += resource/$${TARGET}preview.png
    44     widgetResources.sources += resource/$${TARGET}.svg
    47     widgetResources.sources += resource/$${TARGET}.svg
    45         
    48         
    46     DEPLOYMENT += plugins \
    49     DEPLOYMENT += plugins \
    47                   widgetResources
    50                   widgetResources
    48 }
    51 }
    49 
    52 
    50 win32: {
    53 win32: {
    51 
    54 
    52     CONFIG(debug, debug|release) {
    55     CONFIG(debug, debug|release) {
    53       SUBDIRPART = debug
    56       TARGET_DIR = debug
    54     } else {
    57     } else {
    55       SUBDIRPART = release
    58       TARGET_DIR = release
    56     }    
    59     }        
    57     
    60     
    58     PLUGIN_SUBDIR = /private/20022F35/import/widgetregistry/20022F6F
    61     HOMESCREEN_DIR = $$PWD/../../../../bin/$${TARGET_DIR}
    59     
    62     
    60     DESTDIR = $$PWD/../../../../bin/$${SUBDIRPART}/$${PLUGIN_SUBDIR}
    63     PLUGIN_DIR = $${HOMESCREEN_DIR}/resource/qt/plugins/homescreen
       
    64     WIDGET_DIR = $${HOMESCREEN_DIR}/private/20022F35/import/widgetregistry/20022F6F
       
    65         
       
    66     DESTDIR = $${PLUGIN_DIR}
    61 
    67 
    62     manifest.path = $${DESTDIR}
    68     widgetResources.path = $${WIDGET_DIR}
    63     manifest.files = ./resource/*.manifest ./resource/*.xml ./resource/*.png ./resource/*.svg
    69     widgetResources.files = ./resource/*.manifest \
       
    70                             ./resource/*.xml \
       
    71                             ./resource/*.png \
       
    72                             ./resource/*.svg
    64     
    73     
    65     INSTALLS += manifest    
    74     INSTALLS += widgetResources    
    66     
    75     
    67 }
    76 }