controlpanel/tsrc/unit/testplugin/testplugin.pro
changeset 56 d9e9413f30c9
child 61 33e86ecbfdb4
equal deleted inserted replaced
49:277e3324e775 56:d9e9413f30c9
       
     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 TEMPLATE = lib
       
    18 TARGET = testplugin
       
    19 
       
    20 CONFIG += hb plugin
       
    21 CONFIG += symbian_test
       
    22 
       
    23 QMAKE_EXTRA_TARGETS += test autotest
       
    24 
       
    25 LIBS += -lcpframework
       
    26 
       
    27 include ( testplugin.pri )
       
    28 
       
    29 symbian: { 
       
    30     TARGET.UID3 = 0X2002D6E9
       
    31 }
       
    32 
       
    33 MOC_DIR = moc
       
    34 OBJECT_DIR = obj
       
    35 
       
    36 symbian: {
       
    37     INCLUDEPATH += $$MW_LAYER_SYSTEMINCLUDE
       
    38     INCLUDEPATH += $$MW_LAYER_PLATFORM_EXPORT_PATH(cplogger)
       
    39     INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE
       
    40     INCLUDEPATH += $$MOC_DIR
       
    41     TARGET.CAPABILITY = ALL -TCB
       
    42     TARGET.EPOCALLOWDLLDATA = 1
       
    43     
       
    44     deploy.path = C:
       
    45     headers.sources = data/testplugin.cpcfg
       
    46     headers.path = /resource/qt/plugins/controlpanel/config
       
    47     DEPLOYMENT += headers
       
    48 
       
    49     # This is for new exporting system coming in garden
       
    50     for(header, headers.sources):BLD_INF_RULES.prj_exports += "./$$header $$deploy.path$$headers.path/$$basename(header)"
       
    51 }
       
    52 
       
    53 symbian: plugin { # copy qtstub and manifest
       
    54  
       
    55     PLUGIN_STUB_PATH = /resource/qt/plugins/controlpanel
       
    56   
       
    57     deploy.path = C:
       
    58     pluginstub.sources = $${TARGET}.dll
       
    59     pluginstub.path = $$PLUGIN_STUB_PATH
       
    60     DEPLOYMENT += pluginstub 
       
    61 
       
    62     qtplugins.path = $$PLUGIN_STUB_PATH
       
    63     qtplugins.sources += qmakepluginstubs/$${TARGET}.qtplugin
       
    64      
       
    65     for(qtplugin, qtplugins.sources):BLD_INF_RULES.prj_exports += "./$$qtplugin  $$deploy.path$$qtplugins.path/$$basename(qtplugin)" 
       
    66 }
       
    67 
       
    68 
       
    69