homescreenapp/examples/localisedhellowidgetplugin/localisedhellowidgetplugin.pro
changeset 51 4785f57bf3d4
parent 39 4e8ebe173323
child 86 e4f038c420f7
equal deleted inserted replaced
46:23b5d6a29cce 51:4785f57bf3d4
    12 # Contributors:
    12 # Contributors:
    13 #
    13 #
    14 # Description: Example of home screen widget
    14 # Description: Example of home screen widget
    15 #
    15 #
    16 
    16 
    17 TEMPLATE = subdirs
    17 TEMPLATE = lib
    18 SUBDIRS = localisedhellowidgetplugin \
    18 CONFIG += plugin mobility hb
    19           localisedhellowidgetplugininstaller
    19 MOBILITY = serviceframework
       
    20 
       
    21 HEADERS += ./inc/*.h
       
    22 SOURCES += ./src/*.cpp
       
    23 
       
    24 INCLUDEPATH += ./inc               
       
    25 
       
    26 symbian: {
       
    27 		    
       
    28     INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE
       
    29 
       
    30     TARGET.UID3 = 0x20022F80
       
    31     TARGET.EPOCALLOWDLLDATA=1
       
    32     TARGET.CAPABILITY = ALL -TCB
       
    33     
       
    34     DESTDIR = /private/20022F35/import/widgetregistry/20022F80
       
    35     
       
    36     plugins.path = $${DESTDIR}
       
    37     plugins.sources = $${TARGET}.dll 
       
    38     
       
    39     widgetResources.path = $${DESTDIR}
       
    40     widgetResources.sources += resource/$${TARGET}.xml    
       
    41     widgetResources.sources += resource/$${TARGET}.manifest
       
    42     widgetResources.sources += resource/$${TARGET}.png
       
    43     
       
    44     localisedFiles.path = /resource/qt/translations
       
    45     localisedFiles.sources += ./locales/*.qm 
       
    46     
       
    47     DEPLOYMENT += plugins \
       
    48                   widgetResources \
       
    49                   localisedFiles
       
    50 }
       
    51 
       
    52 win32: {
       
    53 
       
    54     CONFIG(debug, debug|release) {
       
    55       SUBDIRPART = debug
       
    56     } else {
       
    57       SUBDIRPART = release
       
    58     }    				 
       
    59    
       
    60     PLUGIN_SUBDIR = /private/20022F35/import/widgetregistry/20022F80
       
    61     
       
    62     DESTDIR = $$PWD/../../../../bin/$${SUBDIRPART}/$${PLUGIN_SUBDIR}
       
    63 	
       
    64     manifest.path = $${DESTDIR}
       
    65     manifest.files = ./resource/*.manifest ./resource/*.xml ./resource/*.png
       
    66     
       
    67     widgetLocalisation.path = $$PWD/../../../../bin/$${SUBDIRPART}/resource/qt/translations
       
    68     widgetLocalisation.files += ./locales/*.qm 
       
    69         
       
    70     INSTALLS += manifest widgetLocalisation      
       
    71 }