cmmanager/cpipsettingsplugin/cpipsettingsplugin.pro
branchRCL_3
changeset 57 05bc53fe583b
equal deleted inserted replaced
55:fc7b30ed2058 57:05bc53fe583b
       
     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 # Temporary solution to fix tracecompiler
       
    39 # When tracecompiler is fixed, this can be removed
       
    40 symbian: {
       
    41 
       
    42     MMP_RULES += "USERINCLUDE traces"
       
    43 
       
    44 }
       
    45 
       
    46 symbian:
       
    47 {
       
    48 TARGET.EPOCALLOWDLLDATA = 1
       
    49 TARGET.UID3 = 0x2002BC8F
       
    50 TARGET.CAPABILITY = CAP_GENERAL_DLL
       
    51 
       
    52 deploy.path = C:
       
    53 qtplugins.path = /resource/qt/plugins/controlpanel
       
    54 qtplugins.sources += qmakepluginstubs/cpipsettingsplugin.qtplugin
       
    55 
       
    56 for(qtplugin, qtplugins.sources):BLD_INF_RULES.prj_exports += "./$$qtplugin $$deploy.path$$qtplugins.path/$$basename(qtplugin)"
       
    57 
       
    58 BLD_INF_RULES.prj_exports += "rom/cpipsettingsplugin.iby CORE_MW_LAYER_IBY_EXPORT_PATH(cpipsettingsplugin.iby)"
       
    59 BLD_INF_RULES.prj_exports += "rom/cpipsettingsplugin_resources.iby LANGUAGE_APP_LAYER_IBY_EXPORT_PATH(cpipsettingsplugin_resources.iby)"
       
    60 }
       
    61 
       
    62 plugin.sources = cpipsettingsplugin.dll
       
    63 plugin.path = \resource\qt\plugins\controlpanel
       
    64 DEPLOYMENT += plugin