|
1 # |
|
2 # Copyright (c) 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: |
|
15 # WLAN Wizard unit testing Qt project file. |
|
16 # |
|
17 |
|
18 include(stubs/stubs.pri) |
|
19 include(ut/ut.pri) |
|
20 |
|
21 QT += testlib |
|
22 CONFIG += hb qtestlib |
|
23 |
|
24 TEMPLATE = app |
|
25 TARGET = t_wlanwizard |
|
26 |
|
27 DEPENDPATH += . |
|
28 MOC_DIR = build |
|
29 RCC_DIR = build |
|
30 |
|
31 VERSION = 0.0.1 |
|
32 |
|
33 DEFINES += BUILD_WLAN_WIZARD_DLL |
|
34 DEFINES += BUILD_EAP_WIZARD_DLL |
|
35 DEFINES += BUILD_WPS_WIZARD_DLL |
|
36 |
|
37 RESOURCES += ../resources/resource.qrc |
|
38 RESOURCES += ../../eapwizard/resources/eapwizard_resource.qrc |
|
39 RESOURCES += ../../wpswizard/resources/wpswizard_resource.qrc |
|
40 |
|
41 INCLUDEPATH += \ |
|
42 stubs |
|
43 |
|
44 # Stub headers must be used instead of real ones |
|
45 symbian { |
|
46 MMP_RULES += "USERINCLUDE stubs" |
|
47 } |
|
48 |
|
49 # Temporary solution to fix tracecompiler |
|
50 # When tracecompiler is fixed, these can be removed |
|
51 symbian: { |
|
52 MMP_RULES += \ |
|
53 "USERINCLUDE ../traces" \ |
|
54 "USERINCLUDE ../../eapwizard/traces" \ |
|
55 "USERINCLUDE ../../wpswizard/traces" |
|
56 } |
|
57 |
|
58 # WLAN WIZARD HEADERS |
|
59 HEADERS += \ |
|
60 ../inc/wlanwizard.h \ |
|
61 ../inc/wlanwizard_p.h \ |
|
62 ../inc/wlanwizardscanlist.h \ |
|
63 ../inc/wlanwizardpage.h \ |
|
64 ../inc/wlanwizardhelper.h \ |
|
65 ../inc/wlanwizardutils.h \ |
|
66 ../inc/wlanwizardpageinternal.h \ |
|
67 ../inc/wlanwizardpagekeyquery.h \ |
|
68 ../inc/wlanwizardpageprocessingsettings.h \ |
|
69 ../inc/wlanwizardpagesummary.h \ |
|
70 ../inc/wlanwizardsummaryviewitem.h \ |
|
71 ../inc/wlanwizardpagegenericerror.h \ |
|
72 ../inc/wlanwizardpagenetworkmode.h \ |
|
73 ../inc/wlanwizardpagescanning.h \ |
|
74 ../inc/wlanwizardpagesecuritymode.h \ |
|
75 ../inc/wlanwizardpagessid.h |
|
76 |
|
77 # WLAN WIZARD SOURCES |
|
78 SOURCES += \ |
|
79 ../src/wlanwizard.cpp \ |
|
80 ../src/wlanwizard_p.cpp \ |
|
81 ../src/wlanwizardscanlist.cpp \ |
|
82 ../src/wlanwizardutils.cpp \ |
|
83 ../src/wlanwizardpageinternal.cpp \ |
|
84 ../src/wlanwizardpagekeyquery.cpp \ |
|
85 ../src/wlanwizardpageprocessingsettings.cpp \ |
|
86 ../src/wlanwizardpagesummary.cpp \ |
|
87 ../src/wlanwizardsummaryviewitem.cpp \ |
|
88 ../src/wlanwizardpagegenericerror.cpp \ |
|
89 ../src/wlanwizardpagenetworkmode.cpp \ |
|
90 ../src/wlanwizardpagescanning.cpp \ |
|
91 ../src/wlanwizardpagesecuritymode.cpp \ |
|
92 ../src/wlanwizardpagessid.cpp |
|
93 |
|
94 # EAP Wizard headers |
|
95 HEADERS += \ |
|
96 ../../eapwizard/inc/eapwizard.h \ |
|
97 ../../eapwizard/inc/eapwizard_p.h \ |
|
98 ../../eapwizard/inc/eapwizardpage.h \ |
|
99 ../../eapwizard/inc/eapwizardpageoutertype.h \ |
|
100 ../../eapwizard/inc/eapwizardpagecertca.h \ |
|
101 ../../eapwizard/inc/eapwizardpagecertuser.h \ |
|
102 ../../eapwizard/inc/eapwizardpageidentity.h \ |
|
103 ../../eapwizard/inc/eapwizardpageinnertype.h \ |
|
104 ../../eapwizard/inc/eapwizardpageusernamepassword.h \ |
|
105 ../../eapwizard/inc/eapwizardpagenewpacstore.h \ |
|
106 ../../eapwizard/inc/eapwizardpagepacstorepasswordconfirm.h |
|
107 |
|
108 # EAP Wizard sources |
|
109 SOURCES += \ |
|
110 ../../eapwizard/src/eapwizard.cpp \ |
|
111 ../../eapwizard/src/eapwizard_p.cpp \ |
|
112 ../../eapwizard/src/eapwizardpage.cpp \ |
|
113 ../../eapwizard/src/eapwizardpageoutertype.cpp \ |
|
114 ../../eapwizard/src/eapwizardpagecertca.cpp \ |
|
115 ../../eapwizard/src/eapwizardpagecertuser.cpp \ |
|
116 ../../eapwizard/src/eapwizardpageidentity.cpp \ |
|
117 ../../eapwizard/src/eapwizardpageinnertype.cpp \ |
|
118 ../../eapwizard/src/eapwizardpageusernamepassword.cpp \ |
|
119 ../../eapwizard/src/eapwizardpagenewpacstore.cpp \ |
|
120 ../../eapwizard/src/eapwizardpagepacstorepasswordconfirm.cpp |
|
121 |
|
122 # WPS Wizard sources |
|
123 HEADERS += \ |
|
124 ../../wpswizard/inc/wpswizard.h \ |
|
125 ../../wpswizard/inc/wpswizard_p.h \ |
|
126 ../../wpswizard/inc/wpswizardpage.h \ |
|
127 ../../wpswizard/inc/wpswizardsteptwo.h \ |
|
128 ../../wpswizard/inc/wpswizardstepthreebutton.h \ |
|
129 ../../wpswizard/inc/wpswizardstepthreenumber.h \ |
|
130 ../../wpswizard/inc/wpswizardstepfour.h \ |
|
131 ../../wpswizard/inc/wpswizardstepfour_p.h \ |
|
132 ../../wpswizard/inc/wpswizardstepfive.h \ |
|
133 ../../wpswizard/inc/cwpsactiverunner.h \ |
|
134 ../../wpswizard/inc/mwpsactiverunnercallback.h \ |
|
135 |
|
136 SOURCES += \ |
|
137 ../../wpswizard/src/wpswizard.cpp \ |
|
138 ../../wpswizard/src/wpswizard_p.cpp \ |
|
139 ../../wpswizard/src/wpswizardpage.cpp \ |
|
140 ../../wpswizard/src/wpswizardsteptwo.cpp \ |
|
141 ../../wpswizard/src/wpswizardstepthreebutton.cpp \ |
|
142 ../../wpswizard/src/wpswizardstepthreenumber.cpp \ |
|
143 ../../wpswizard/src/wpswizardstepfour.cpp \ |
|
144 ../../wpswizard/src/wpswizardstepfour_p.cpp \ |
|
145 ../../wpswizard/src/wpswizardstepfive.cpp \ |
|
146 ../../wpswizard/src/cwpsactiverunner.cpp |
|
147 |
|
148 LIBS += -leapqtplugininfo |
|
149 |
|
150 symbian: { |
|
151 TARGET.CAPABILITY = ALL -TCB |
|
152 TARGET.EPOCHEAPSIZE = 0x20000 0x2000000 |
|
153 } |