|
1 ############################################################################# |
|
2 ## |
|
3 ## Copyright (C) 2008-2010 Nokia Corporation and/or its subsidiary(-ies). |
|
4 ## All rights reserved. |
|
5 ## Contact: Nokia Corporation (developer.feedback@nokia.com) |
|
6 ## |
|
7 ## This file is part of the UI Extensions for Mobile. |
|
8 ## |
|
9 ## GNU Lesser General Public License Usage |
|
10 ## This file may be used under the terms of the GNU Lesser General Public |
|
11 ## License version 2.1 as published by the Free Software Foundation and |
|
12 ## appearing in the file LICENSE.LGPL included in the packaging of this file. |
|
13 ## Please review the following information to ensure the GNU Lesser General |
|
14 ## Public License version 2.1 requirements will be met: |
|
15 ## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. |
|
16 ## |
|
17 ## In addition, as a special exception, Nokia gives you certain additional |
|
18 ## rights. These rights are described in the Nokia Qt LGPL Exception |
|
19 ## version 1.1, included in the file LGPL_EXCEPTION.txt in this package. |
|
20 ## |
|
21 ## If you have questions regarding the use of this file, please contact |
|
22 ## Nokia at developer.feedback@nokia.com. |
|
23 ## |
|
24 ############################################################################# |
|
25 |
|
26 TEMPLATE = app |
|
27 TARGET = hbthemeserver |
|
28 developer:DEFINES += BUILD_HB_INTERNAL |
|
29 DEFINES += HB_BUILD_DIR=\"\\\"$${HB_BUILD_DIR}\\\"\" |
|
30 |
|
31 # directories |
|
32 DESTDIR = $${HB_BUILD_DIR}/bin |
|
33 |
|
34 # dependencies |
|
35 hbAddLibrary(hbcore/HbCore) |
|
36 |
|
37 # Input |
|
38 SOURCES += $$PWD/main.cpp |
|
39 SOURCES += $$PWD/hbthemeserver.cpp |
|
40 SOURCES += $$PWD/hbthemeserverutils.cpp |
|
41 SOURCES += $$PWD/hbiconcacheitemcreator_p.cpp |
|
42 SOURCES += $$PWD/hbpixmapiconprocessor_p.cpp |
|
43 SOURCES += $$PWD/hbpiciconprocessor_p.cpp |
|
44 SOURCES += $$PWD/hbicondatacache_p.cpp |
|
45 SOURCES += $$PWD/hbcache_p.cpp |
|
46 |
|
47 HEADERS += $$PWD/hbthemeserver_p.h |
|
48 HEADERS += $$PWD/hbthemeserverutils_p.h |
|
49 HEADERS += $$PWD/hbiconcacheitemcreator_p.h |
|
50 HEADERS += $$PWD/hbiconprocessor_p.h |
|
51 HEADERS += $$PWD/hbpixmapiconprocessor_p.h |
|
52 HEADERS += $$PWD/hbpiciconprocessor_p.h |
|
53 HEADERS += $$PWD/hbicondatacache_p.h |
|
54 HEADERS += $$PWD/hbcache_p.h |
|
55 HEADERS += $$PWD/hbdoublelinkedlist_p.h |
|
56 HEADERS += $$PWD/hbdoublelinkedlistinline_p.h |
|
57 |
|
58 symbian:CONFIG += nvg |
|
59 |
|
60 symbian { |
|
61 SOURCES += $$PWD/hbthemeserver_symbian.cpp |
|
62 HEADERS += $$PWD/hbthemeserver_symbian_p_p.h |
|
63 |
|
64 nvg:DEFINES += HB_NVG_CS_ICON |
|
65 sgimage:DEFINES += HB_SGIMAGE_ICON |
|
66 |
|
67 nvg { |
|
68 SOURCES += $$PWD/hbnvgiconprocessor_p.cpp |
|
69 HEADERS += $$PWD/hbnvgiconprocessor_p.h |
|
70 LIBS += -llibopenvg -llibopenvgu -llibegl |
|
71 } |
|
72 LIBS += -lapgrfx -lws32 -lavkon -lcone -leikcore |
|
73 sgimage { |
|
74 HEADERS += $$PWD/hbsgimageiconprocessor_p.h |
|
75 HEADERS += $$PWD/hbsgimagerenderer_p.h |
|
76 SOURCES += $$PWD/hbsgimageiconprocessor_p.cpp |
|
77 SOURCES += $$PWD/hbsgimagerenderer.cpp |
|
78 INCLUDEPATH += /epoc32/include/platform #For SGImage Support |
|
79 LIBS += -lsgresource #For SGImage Support |
|
80 LIBS += -llibopenvg #For SGImage Support |
|
81 LIBS += -llibopenvgu #For SGImage Support |
|
82 LIBS += -llibegl #For SGImage Support |
|
83 } |
|
84 |
|
85 myrssrules = \ |
|
86 "hidden = KAppIsHidden;" |
|
87 RSS_RULES += myrssrules |
|
88 MMP_RULES += "SYSTEMINCLUDE /epoc32/include/middleware" |
|
89 # FOR 9.2 FOR INCLUDING aknappui.h |
|
90 MMP_RULES += "SYSTEMINCLUDE /epoc32/include/mw" |
|
91 TARGET.UID3 = 0x20022E82 |
|
92 TARGET.EPOCHEAPSIZE = 0x20000 0xA00000 |
|
93 |
|
94 # AllFiles is needed to be able to access icon and effect files in |
|
95 # an application's private folder for example. |
|
96 TARGET.CAPABILITY = CAP_SERVER AllFiles |
|
97 # TARGET.CAPABILITY += ProtServ TrustedUI |
|
98 |
|
99 } else { |
|
100 SOURCES += $$PWD/hbthemeserver_generic.cpp |
|
101 HEADERS += $$PWD/hbthemeserver_generic_p_p.h |
|
102 } |
|
103 |
|
104 QT = core gui svg network |
|
105 |
|
106 # installation |
|
107 !local { |
|
108 target.path = $${HB_BIN_DIR} |
|
109 INSTALLS += target |
|
110 } |
|
111 |
|
112 include($${HB_SOURCE_DIR}/src/hbcore/3rdparty/qtsingleapplication/src/qtsingleapplication.pri) |
|
113 include($${HB_SOURCE_DIR}/src/hbcommon.pri) |