qtinternetradio/irhswidgetplugin/irhswidgetplugin.pro
changeset 11 f683e24efca3
child 12 608f67c22514
equal deleted inserted replaced
8:3b03c28289e6 11:f683e24efca3
       
     1 #
       
     2 # Copyright (c) 2009 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:  
       
    15 
       
    16 TEMPLATE = lib
       
    17 TARGET   = irhswidgetplugin
       
    18 CONFIG += plugin mobility hb
       
    19 MOBILITY = serviceframework
       
    20 
       
    21 LIBS += -lxqsettingsmanager \
       
    22         -lxqservice \
       
    23         -lxqserviceutil
       
    24 
       
    25 MOC_DIR = moc
       
    26         
       
    27 HEADERS += ./inc/*.h
       
    28 SOURCES += ./src/*.cpp
       
    29 
       
    30 INCLUDEPATH += ./inc               
       
    31 INCLUDEPATH += ../irqcommon/inc
       
    32 
       
    33 UID = E257CD03
       
    34 RESOURCES = resources.qrc
       
    35 
       
    36 symbian: {
       
    37 
       
    38     DESTDIR = /private/20022F35/import/widgetregistry/$${UID}
       
    39     INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE
       
    40 
       
    41     TARGET.UID3 = 0x$${UID}
       
    42     TARGET.EPOCALLOWDLLDATA=1
       
    43     TARGET.CAPABILITY = ALL -TCB
       
    44     
       
    45     plugins.path = $${DESTDIR}
       
    46     plugins.sources = $${TARGET}.dll 
       
    47     
       
    48     widgetResources.path = $${DESTDIR}
       
    49     widgetResources.sources += resource/$${TARGET}.xml    
       
    50     widgetResources.sources += resource/$${TARGET}.manifest
       
    51     widgetResources.sources += resource/$${TARGET}.png
       
    52         
       
    53     DEPLOYMENT += plugins \
       
    54                   widgetResources
       
    55 }
       
    56 
       
    57 win32: {
       
    58 
       
    59     CONFIG(debug, debug|release) {
       
    60       SUBDIRPART = debug
       
    61     } else {
       
    62       SUBDIRPART = release
       
    63     }    
       
    64     
       
    65     PLUGIN_SUBDIR = /private/20022F35/import/widgetregistry/$${UID}
       
    66     
       
    67     DESTDIR = $$PWD/../../../../bin/$${SUBDIRPART}/$${PLUGIN_SUBDIR}
       
    68 
       
    69     manifest.path = $${DESTDIR}
       
    70     manifest.files = ./resource/*.manifest ./resource/*.xml ./resource/*.png
       
    71     
       
    72     INSTALLS += manifest    
       
    73     
       
    74 }
       
    75 
       
    76 symbian:include(irhswidgetplugin_rom.pri)