|
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 # |
|
16 # |
|
17 |
|
18 TEMPLATE = app |
|
19 TARGET = test_xqkeycapture |
|
20 |
|
21 |
|
22 INCLUDEPATH += . |
|
23 INCLUDEPATH += $$MW_LAYER_SYSTEMINCLUDE \ |
|
24 /epoc32/include/mw/qt \ |
|
25 /epoc32/include/mw/qttest |
|
26 |
|
27 TARGET.CAPABILITY = ALL -TCB |
|
28 |
|
29 # Input |
|
30 # LIBS += |
|
31 |
|
32 DEFINES += _XQKEYCAPTURE_UNITTEST_ |
|
33 |
|
34 SOURCES += test_xqkeycapture.cpp \ |
|
35 mytestwindowgroup.cpp |
|
36 |
|
37 HEADERS += mytestwindowgroup.h |
|
38 |
|
39 HEADERS += \ |
|
40 ../xqkeycapture.h \ |
|
41 ../keycapture_p.h \ |
|
42 ../txlogger.h |
|
43 |
|
44 SOURCES += \ |
|
45 ../xqkeycapture.cpp |
|
46 |
|
47 symbian { |
|
48 |
|
49 LIBS += -lremconinterfacebase -lremconcoreapi -lremconextensionapi |
|
50 |
|
51 HEADERS += ../keycapture_s60_p.h \ |
|
52 ../capturerequest_s60.h \ |
|
53 ../keymapper.h \ |
|
54 ../targetwrapper.h \ |
|
55 ../responsehandler.h \ |
|
56 ../responsehandlerex.h |
|
57 |
|
58 SOURCES +=../keycapture_s60_p.cpp \ |
|
59 ../capturerequest_s60.cpp \ |
|
60 ../keymapper.cpp \ |
|
61 ../targetwrapper.cpp \ |
|
62 ../responsehandler.cpp \ |
|
63 ../responsehandlerex.cpp |
|
64 |
|
65 sourcefiles.sources += /sf/mw/qt/src/gui/kernel/qkeymapper_s60.cpp |
|
66 sourcefiles.sources += ../keymapper.cpp |
|
67 |
|
68 sourcefiles.path = / |
|
69 DEPLOYMENT += sourcefiles |
|
70 } else { |
|
71 HEADERS += ../keycapture_stub_p.h |
|
72 SOURCES += ./keycapture_stub_p.cpp |
|
73 } |
|
74 |
|
75 CONFIG += qtestlib console |
|
76 |