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