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