wlanutilities/wlanentryplugin/wlanentryplugin.pro
branchRCL_3
changeset 25 f28ada11abbf
parent 24 63be7eb3fc78
equal deleted inserted replaced
24:63be7eb3fc78 25:f28ada11abbf
     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 # WLAN Entry Plugin Qt project file.
       
    16 #
       
    17 
       
    18 TEMPLATE = lib
       
    19 TARGET = cpwlanentryplugin
       
    20 DEPENDPATH += .
       
    21 INCLUDEPATH += .
       
    22 INCLUDEPATH += traces
       
    23 # wlanutilities Private API
       
    24 INCLUDEPATH += ../inc
       
    25 CONFIG += hb plugin
       
    26 LIBS += -lwlanqtutilities -lcpframework -lxqservice -lxqserviceutil -lqtsysteminfo -lxqsettingsmanager
       
    27 
       
    28 # Temporary solution to fix tracecompiler
       
    29 # When tracecompiler is fixed, this can be removed
       
    30 symbian: {
       
    31     MMP_RULES += "USERINCLUDE traces"
       
    32 }
       
    33 
       
    34 #Store generated files to their own directory
       
    35 MOC_DIR = build
       
    36 RCC_DIR = build
       
    37 
       
    38 # Sources
       
    39 HEADERS += \
       
    40     inc/cpwlanentryplugin.h \
       
    41     inc/cpwlanentryitemdata.h \
       
    42     inc/wlanstatusinfo.h \
       
    43     traces/OstTraceDefinitions.h
       
    44 SOURCES += \
       
    45     src/cpwlanentryplugin.cpp \
       
    46     src/cpwlanentryitemdata.cpp \
       
    47     src/wlanstatusinfo.cpp
       
    48 
       
    49 TRANSLATIONS = wlanentryplugin.ts
       
    50 
       
    51 symbian: { 
       
    52     TARGET.EPOCALLOWDLLDATA = 1
       
    53     TARGET.UID3 = 0x2002BCE0
       
    54     SYMBIAN_PLATFORMS = WINSCW ARMV5
       
    55     BLD_INF_RULES.prj_exports += "rom/wlanentryplugin.iby CORE_MW_LAYER_IBY_EXPORT_PATH(wlanentryplugin.iby)"
       
    56     BLD_INF_RULES.prj_exports += "rom/wlanentryplugin_resources.iby LANGUAGE_APP_LAYER_IBY_EXPORT_PATH(wlanentryplugin_resources.iby)"
       
    57     
       
    58     # Enable for QtHighway tracing
       
    59     # DEFINES += WLANENTRYPLUGIN_SERVICETRACES
       
    60 }
       
    61 symbian { 
       
    62     deploy.path = C:
       
    63     qtplugins.path = /resource/qt/plugins/controlpanel
       
    64     qtplugins.sources += qmakepluginstubs/cpwlanentryplugin.qtplugin
       
    65     
       
    66     # This is for new exporting system coming in garden
       
    67     for(qtplugin, qtplugins.sources):BLD_INF_RULES.prj_exports += "./$$qtplugin $$deploy.path$$qtplugins.path/$$basename(qtplugin)"
       
    68 }
       
    69 TARGET.CAPABILITY = CAP_GENERAL_DLL
       
    70 plugin.sources = cpwlanentryplugin.dll xqservice.dll
       
    71 plugin.path = /resource/qt/plugins/controlpanel
       
    72 DEPLOYMENT += plugin