vmbx/vmbxcpplugin/vmbxcpplugin.pri
branchRCL_3
changeset 20 987c9837762f
parent 19 7d48bed6ce0c
child 21 0a6dd2dc9970
equal deleted inserted replaced
19:7d48bed6ce0c 20:987c9837762f
     1 #
       
     2 # Copyright (c) 2009 - 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: vmbxcpplugin source files
       
    15 #
       
    16 
       
    17 
       
    18 CONFIG += debug_and_release 
       
    19 
       
    20 
       
    21 CONFIG(debug, debug|release) {
       
    22     SUBDIRPART = debug
       
    23 } else {
       
    24     SUBDIRPART = release
       
    25 }
       
    26 
       
    27 
       
    28 # Add the output dirs to the link path too
       
    29 LIBS += -L$$DESTDIR
       
    30 
       
    31 MOC_DIR = moc
       
    32 OBJECT_DIR = obj
       
    33 RCC_DIR = rcc
       
    34 
       
    35 #For some reason the default include path doesn't include MOC_DIR on symbian
       
    36 symbian {
       
    37     INCLUDEPATH += $$MW_LAYER_SYSTEMINCLUDE
       
    38     INCLUDEPATH += $$MOC_DIR
       
    39     TARGET.CAPABILITY = CAP_GENERAL_DLL
       
    40     TARGET.EPOCALLOWDLLDATA = 1
       
    41 }
       
    42 
       
    43 
       
    44 CONFIG += hb plugin
       
    45 LIBS += -lcpframework\
       
    46         -lvmbxengine
       
    47 
       
    48 symbian: plugin { # copy qtstub and manifest
       
    49     PLUGIN_STUB_PATH = /resource/qt/plugins/controlpanel
       
    50 
       
    51     deploy.path = C:
       
    52     pluginstub.sources = $${TARGET}.dll
       
    53     pluginstub.path = $$PLUGIN_STUB_PATH
       
    54     DEPLOYMENT += pluginstub
       
    55 
       
    56     qtplugins.path = $$PLUGIN_STUB_PATH
       
    57     qtplugins.sources += qmakepluginstubs/$${TARGET}.qtplugin
       
    58 
       
    59     for(qtplugin, qtplugins.sources):BLD_INF_RULES.prj_exports += "./$$qtplugin  $$deploy.path$$qtplugins.path/$$basename(qtplugin)" \
       
    60     "rom/vmbxcpplugin_stub.sis ZSYSTEM/install/vmbxcpplugin_stub.sis"
       
    61 }
       
    62 
       
    63 HEADERS += inc/vmbxcpplugin.h \
       
    64            inc/vmbxcpgroup.h \
       
    65            inc/vmbxuiengine.h \
       
    66            inc/loggerutil.h \
       
    67            inc/actioncustomitem.h \
       
    68            inc/customedit.h
       
    69 
       
    70 SOURCES += src/vmbxcpplugin.cpp \
       
    71            src/vmbxcpgroup.cpp \
       
    72            src/vmbxuiengine.cpp \
       
    73            src/actioncustomitem.cpp \
       
    74            src/customedit.cpp