homescreenapp/examples/pannablewidgetplugin/pannablewidgetplugin.pro
changeset 62 341166945d65
parent 57 2e2dc3d30ca8
child 63 52b0f64eeb51
equal deleted inserted replaced
57:2e2dc3d30ca8 62:341166945d65
     1 #
       
     2 # Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
       
     3 # All rights reserved.
       
     4 # This component and the accompanying materials are made available
       
     5 # under the terms of "Eclipse Public License v1.0"
       
     6 # which accompanies this distribution, and is available
       
     7 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 #
       
     9 # Initial Contributors:
       
    10 # Nokia Corporation - initial contribution.
       
    11 #
       
    12 # Contributors:
       
    13 #
       
    14 # Description: Example of home screen widget
       
    15 #
       
    16 
       
    17 TEMPLATE = lib
       
    18 CONFIG += plugin mobility hb
       
    19 MOBILITY = serviceframework
       
    20 
       
    21 HEADERS += ./inc/*.h
       
    22 SOURCES += ./src/*.cpp
       
    23 
       
    24 INCLUDEPATH += ./inc               
       
    25 
       
    26 symbian: {
       
    27 
       
    28     DESTDIR = /private/20022F35/import/widgetregistry/20022F7C
       
    29     INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE
       
    30 
       
    31     TARGET.UID3 = 0x20022F7C
       
    32     TARGET.EPOCALLOWDLLDATA=1
       
    33     TARGET.CAPABILITY = ALL -TCB
       
    34     
       
    35     plugins.path = $${DESTDIR}
       
    36     plugins.sources = $${TARGET}.dll 
       
    37     
       
    38     widgetResources.path = $${DESTDIR}
       
    39     widgetResources.sources += resource/$${TARGET}.xml    
       
    40     widgetResources.sources += resource/$${TARGET}.manifest
       
    41     widgetResources.sources += resource/$${TARGET}.png
       
    42         
       
    43     DEPLOYMENT += plugins \
       
    44                   widgetResources
       
    45 }
       
    46 
       
    47 win32: {
       
    48 
       
    49     CONFIG(debug, debug|release) {
       
    50       SUBDIRPART = debug
       
    51     } else {
       
    52       SUBDIRPART = release
       
    53     }    
       
    54     
       
    55     PLUGIN_SUBDIR = /private/20022F35/import/widgetregistry/20022F7C
       
    56     
       
    57     DESTDIR = $$PWD/../../../../bin/$${SUBDIRPART}/$${PLUGIN_SUBDIR}
       
    58 
       
    59     manifest.path = $${DESTDIR}
       
    60     manifest.files = ./resource/*.manifest ./resource/*.xml ./resource/*.png
       
    61     
       
    62     INSTALLS += manifest    
       
    63     
       
    64 }