cmmanager/cpipsettingsplugin/cpipsettingsplugin.pro
changeset 20 9c97ad6591ae
child 41 bbb64eb3bdee
equal deleted inserted replaced
18:fcbbe021d614 20:9c97ad6591ae
       
     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: 
       
    15 #
       
    16 
       
    17 TEMPLATE = lib
       
    18 TARGET = cpipsettingsplugin
       
    19 DEPENDPATH += .
       
    20 INCLUDEPATH += . ../inc ../../inc
       
    21 
       
    22 CONFIG += hb plugin
       
    23 
       
    24 MOC_DIR = moc
       
    25 OBJECTS_DIR = obj
       
    26 RCC_DIR = rcc
       
    27 
       
    28 LIBS += -lcpframework
       
    29 
       
    30 # Sources
       
    31 HEADERS += inc/cpipsettingsplugin.h \
       
    32            inc/cpipsettingsview.h
       
    33 SOURCES += src/cpipsettingsplugin.cpp \
       
    34            src/cpipsettingsview.cpp
       
    35 
       
    36 TRANSLATIONS = cpipsettingsplugin.ts
       
    37 
       
    38 symbian:
       
    39 {
       
    40 TARGET.EPOCALLOWDLLDATA = 1
       
    41 TARGET.UID3 = 0x2002BC8F
       
    42 TARGET.CAPABILITY = CAP_GENERAL_DLL
       
    43 
       
    44 deploy.path = C:
       
    45 qtplugins.path = /resource/qt/plugins/controlpanel
       
    46 qtplugins.sources += qmakepluginstubs/cpipsettingsplugin.qtplugin
       
    47 
       
    48 for(qtplugin, qtplugins.sources):BLD_INF_RULES.prj_exports += "./$$qtplugin $$deploy.path$$qtplugins.path/$$basename(qtplugin)"
       
    49 
       
    50 BLD_INF_RULES.prj_exports += "rom/cpipsettingsplugin.iby CORE_MW_LAYER_IBY_EXPORT_PATH(cpipsettingsplugin.iby)"
       
    51 BLD_INF_RULES.prj_exports += "rom/cpipsettingsplugin_resources.iby LANGUAGE_APP_LAYER_IBY_EXPORT_PATH(cpipsettingsplugin_resources.iby)"
       
    52 }
       
    53 
       
    54 plugin.sources = cpipsettingsplugin.dll
       
    55 plugin.path = \resource\qt\plugins\controlpanel
       
    56 DEPLOYMENT += plugin