securitysettings/cpwlansecurityuiplugins/cpwpaui/cpwpaui.pro
changeset 22 093cf0757204
child 26 9abfd4f00d37
equal deleted inserted replaced
20:8b3129ac4c0f 22:093cf0757204
       
     1 # Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
       
     2 # All rights reserved.
       
     3 # This component and the accompanying materials are made available
       
     4 # under the terms of the License "Eclipse Public License v1.0"
       
     5 # which accompanies this distribution, and is available
       
     6 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 # Initial Contributors:
       
     8 # Nokia Corporation - initial contribution.
       
     9 # Contributors:
       
    10 # Description:
       
    11 # Control Panel QT UI for WPA configuration
       
    12 # %version: tr1cfwln#7 %
       
    13 TEMPLATE = lib
       
    14 TARGET = cpwpaui
       
    15 DEPENDPATH += 
       
    16 INCLUDEPATH += $$MW_LAYER_SYSTEMINCLUDE \
       
    17     $$OS_LAYER_SYSTEMINCLUDE \
       
    18     ../cpwpacmnui/inc \
       
    19     ../../inc
       
    20     
       
    21 CONFIG += hb \
       
    22     plugin
       
    23 LIBS += -lcpframework \
       
    24     -leapqtplugininfo \
       
    25     -lcpwpacmnui \
       
    26     -lconnection_settings_shim
       
    27 MOC_DIR = _moc
       
    28 RCC_DIR = _rcc
       
    29 OBJECTS_DIR = _objects
       
    30 
       
    31 # Input
       
    32 HEADERS += inc/wpakeyvalidator.h \
       
    33     traces/OstTraceDefinitions.h \
       
    34     inc/cpwpaui.h
       
    35 SOURCES += src/wpakeyvalidator.cpp \
       
    36     src/cpwpaui.cpp
       
    37 symbian: { 
       
    38     TARGET.EPOCALLOWDLLDATA = 1
       
    39     TARGET.UID3 = 0x2002C301
       
    40     LIBS += -leapqtconfiginterface
       
    41     BLD_INF_RULES.prj_exports += "rom/cpwpaui.iby CORE_MW_LAYER_IBY_EXPORT_PATH(cpwpaui.iby)"
       
    42 }
       
    43 symbian { 
       
    44     deploy.path = C:
       
    45     qtplugins.path = /resource/qt/plugins/controlpanel/wlansecurity
       
    46     qtplugins.sources += qmakepluginstubs/cpwpaui.qtplugin
       
    47     
       
    48     # This is for new exporting system coming in garden
       
    49     for(qtplugin, qtplugins.sources):BLD_INF_RULES.prj_exports += "./$$qtplugin $$deploy.path$$qtplugins.path/$$basename(qtplugin)"
       
    50 }
       
    51 
       
    52 # temporary not used; waiting for the latest .ts file ; accordingly export will change
       
    53 # translation file temporarily read as qt resource
       
    54 # TRANSLATIONS += /resource/qtwlan_en_GB.ts
       
    55 
       
    56 # Temporary solution to fix tracecompiler
       
    57 # When tracecompiler is fixed, this can be removed
       
    58 symbian: {
       
    59     MMP_RULES += "USERINCLUDE traces"
       
    60 }
       
    61 
       
    62 RESOURCES += resources/resource.qrc
       
    63 
       
    64 TARGET.CAPABILITY = CAP_GENERAL_DLL
       
    65 dynamiclibrary.sources = cpwpacmnui.dll
       
    66 dynamiclibrary.path = /sys/bin
       
    67 plugin.sources += cpwpaui.dll
       
    68 plugin.path = /resource/qt/plugins/controlpanel
       
    69 DEPLOYMENT += plugin \
       
    70     dynamiclibrary
       
    71