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 = |
|
20 |
|
21 QT += testlib xml |
|
22 CONFIG += hb qtestlib dll |
|
23 |
|
24 MUS_DIR = ../../../../.. |
|
25 LCUI_DIR = ../.. |
|
26 LCUIENGINE_DIR = ../../../lcuiengine |
|
27 |
|
28 RESOURCES += $$LCUI_DIR/livecommsui.qrc |
|
29 |
|
30 DEFINES += UNIT_TESTING |
|
31 DEFINES += QT_NO_DEBUG_OUTPUT |
|
32 |
|
33 DEPENDPATH += . |
|
34 INCLUDEPATH = hbstubs $$INCLUDEPATH |
|
35 INCLUDEPATH += . |
|
36 INCLUDEPATH += $$LCUI_DIR/inc |
|
37 INCLUDEPATH += $$MUS_DIR/tsrc/qtestutils/inc |
|
38 INCLUDEPATH += $$MUS_DIR/mmsharinguis_plat/live_comms_plugin_api/inc |
|
39 INCLUDEPATH += /epoc32/include/ecom |
|
40 INCLUDEPATH += /epoc32/include/platform/app |
|
41 |
|
42 # Input |
|
43 HEADERS += inc/ut_lcviewmanager.h |
|
44 HEADERS += $$LCUI_DIR/inc/lcviewmanager.h |
|
45 HEADERS += $$LCUI_DIR/inc/lcviewmanager_p.h |
|
46 HEADERS += inc/ut_lcuicomponentrepository.h |
|
47 HEADERS += $$LCUI_DIR/inc/lcuicomponentrepository.h |
|
48 HEADERS += inc/ut_lcview.h |
|
49 HEADERS += $$LCUI_DIR/inc/lcview.h |
|
50 HEADERS += inc/ut_lceffecthandler.h |
|
51 HEADERS += $$LCUI_DIR/inc/lceffecthandler.h |
|
52 HEADERS += inc/ut_lcvideowidget.h |
|
53 HEADERS += $$LCUI_DIR/inc/lcvideowidget.h |
|
54 HEADERS += $$LCUIENGINE_DIR/inc/lcuiengine.h |
|
55 HEADERS += ./hbstubs/dialpad.h |
|
56 HEADERS += ./hbstubs/dialpadvtkeyhandler.h |
|
57 HEADERS += ./hbstubs/hblineedit.h |
|
58 |
|
59 SOURCES += src/main.cpp |
|
60 SOURCES += hbstubs/hbstubs.cpp |
|
61 SOURCES += hbstubs/dialpad_stub.cpp |
|
62 SOURCES += hbstubs/dialpadvtkeyhandler_stub.cpp |
|
63 SOURCES += src/ut_lcviewmanager.cpp |
|
64 SOURCES += $$LCUI_DIR/src/lcviewmanager.cpp |
|
65 SOURCES += $$LCUI_DIR/src/lcviewmanager_p.cpp |
|
66 SOURCES += src/ut_lcuicomponentrepository.cpp |
|
67 SOURCES += $$LCUI_DIR/src/lcuicomponentrepository.cpp |
|
68 SOURCES += src/ut_lcview.cpp |
|
69 SOURCES += $$LCUI_DIR/src/lcview.cpp |
|
70 SOURCES += src/ut_lceffecthandler.cpp |
|
71 SOURCES += $$LCUI_DIR/src/lceffecthandler.cpp |
|
72 SOURCES += src/ut_lcvideowidget.cpp |
|
73 SOURCES += $$LCUI_DIR/src/lcvideowidget.cpp |
|
74 SOURCES += $$LCUIENGINE_DIR/src/lcuiengine.cpp |
|
75 SOURCES += $$MUS_DIR/tsrc/qtestutils/src/testresultxmlparser.cpp |
|
76 |
|
77 |
|
78 symbian: { |
|
79 DEFINES += BUILD_SYMBIAN |
|
80 |
|
81 INCLUDEPATH += $$LCUIENGINE_DIR/inc |
|
82 |
|
83 SOURCES += lcuiengine_stub/symbian/stub_lcuiengine_p.cpp |
|
84 HEADERS += $$LCUIENGINE_DIR/inc/lcuiengine_p.h |
|
85 |
|
86 LIBS += -lecom -lflogger -lws32 -lbafl |
|
87 |
|
88 TARGET.CAPABILITY = ALL -TCB |
|
89 TARGET.EPOCALLOWDLLDATA = 1 |
|
90 TARGET.EPOCHEAPSIZE = 0x020000 0x800000 |
|
91 } |
|
92 |
|
93 win32: { |
|
94 INCLUDEPATH += $$LCUI_DIR/mmshlcuiengine/win32 |
|
95 INCLUDEPATH += inc |
|
96 INCLUDEPATH += $$LCUIENGINE_DIR/tsrc/win32 |
|
97 INCLUDEPATH += $$LCUIENGINE_DIR/inc |
|
98 |
|
99 SOURCES += lcuiengine_stub/win32/stub_lcuiengine_p.cpp |
|
100 HEADERS += $$LCUIENGINE_DIR/tsrc/win32/lcuiengine_p.h |
|
101 } |
|