|
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 TEMPLATE = app |
|
18 TARGET = ut_categorymodelutility |
|
19 |
|
20 QT += testlib |
|
21 CONFIG += hb qtestlib |
|
22 CONFIG += symbian_test |
|
23 |
|
24 DEPENDPATH += . |
|
25 |
|
26 QMAKE_EXTRA_TARGETS += test autotest |
|
27 |
|
28 include ( ../../../common.pri ) |
|
29 include (../unit_common.pri) |
|
30 include(../../../inc/inc.pri) |
|
31 include(../../cpcategorymodel.pri) |
|
32 |
|
33 LIBS += -lcpframework -lcplogger |
|
34 |
|
35 CONFIG += Hb xml |
|
36 DEFINES += BUILD_CPCATEGORY_GLOBAL |
|
37 |
|
38 symbian*: { |
|
39 TARGET.CAPABILITY = CAP_APPLICATION |
|
40 LIBS += -lfirstpluginforcpcategorymodel \ |
|
41 -lsecondpluginforcpcategorymodel |
|
42 |
|
43 deploy.path = C: |
|
44 testdlls.sources += firstpluginforcpcategorymodel.dll \ |
|
45 secondpluginforcpcategorymodel.dll |
|
46 testdlls.path = /sys/bin |
|
47 |
|
48 testqtplugins.sources += ../testpluginsforcpcategorymodel/firstpluginforcpcategorymodel/qmakepluginstubs/firstpluginforcpcategorymodel.qtplugin \ |
|
49 ../testpluginsforcpcategorymodel/secondpluginforcpcategorymodel/qmakepluginstubs/secondpluginforcpcategorymodel.qtplugin |
|
50 testqtplugins.path = /resource/qt/plugins/controlpanel |
|
51 |
|
52 testqtcfgfile.sources += data/configfiletestformodelutility.cpcfg |
|
53 testqtcfgfile.path = /resource/qt/plugins/controlpanel/config |
|
54 |
|
55 DEPLOYMENT += testdlls \ |
|
56 testqtplugins \ |
|
57 testqtcfgfile |
|
58 } |
|
59 HEADERS += src/*.h |
|
60 SOURCES += src/*.cpp |