phonesettings/cpphonesettingsplugins/cpplugincommon.pri
changeset 21 92ab7f8d0eab
equal deleted inserted replaced
4:c84cf270c54f 21:92ab7f8d0eab
       
     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 
       
    17 symbian: {
       
    18     load(data_caging_paths)
       
    19     INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE
       
    20     
       
    21     TARGET.EPOCALLOWDLLDATA = 1  
       
    22     TARGET.CAPABILITY = CAP_GENERAL_DLL
       
    23     
       
    24     exists($$OUT_PWD/data/$${TARGET}.cpcfg) {
       
    25         cpcfg.sources = data/$${TARGET}.cpcfg
       
    26         cpcfg.path = $$QT_PLUGINS_BASE_DIR/controlpanel/config
       
    27     }
       
    28     plugin.sources = $${TARGET}.dll
       
    29     plugin.path = $$QT_PLUGINS_BASE_DIR/controlpanel
       
    30     DEPLOYMENT += plugin cpcfg
       
    31     
       
    32     # For armv5 rom build
       
    33     qtplugin.sources += qmakepluginstubs/$${TARGET}.qtplugin
       
    34     qtplugin.path = $$QT_PLUGINS_BASE_DIR/controlpanel
       
    35 
       
    36     for(cpcfg, cpcfg.sources): \
       
    37         BLD_INF_RULES.prj_exports += "./$$cpcfg /$$HW_ZDIR$$RESOURCE_FILES_DIR/qt/plugins/controlpanel/config/$$basename(cpcfg)"
       
    38     for(qtplugin, qtplugin.sources): \
       
    39         BLD_INF_RULES.prj_exports += "./$$qtplugin /$$HW_ZDIR$$RESOURCE_FILES_DIR/qt/plugins/controlpanel/$$basename(qtplugin)" 
       
    40 } else: {
       
    41     INCLUDEPATH += ../../../../../mw/phonesrv/phonesrv_plat/phone_settings_api/inc
       
    42     INCLUDEPATH += ../../../../../mw/phonesrv/phonesrv_plat/ss_settings_api/inc
       
    43     INCLUDEPATH += ../../../../../mw/gsprofilesrv/controlpanel/controlpanel_plat/inc
       
    44     INCLUDEPATH += ../../../../../../epoc32/include
       
    45     INCLUDEPATH += ../../../../../../epoc32/include/mw
       
    46     LIBS += -LC:/ControlPanel/debug/bin
       
    47         DESTDIR = C:/ControlPanel/debug/bin
       
    48 }