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 TMP_DIR_NAME = app |
|
18 include(../buildflags.pri) |
|
19 |
|
20 TEMPLATE = app |
|
21 TARGET = fmradio |
|
22 TRANSLATIONS += fmradio.ts |
|
23 |
|
24 symbian: { |
|
25 TARGET.CAPABILITY = CAP_APPLICATION MultimediaDD |
|
26 TARGET.UID3 = 0x2002FF4E |
|
27 TARGET.EPOCSTACKSIZE = 0x14000 |
|
28 TARGET.EPOCHEAPSIZE = 0x020000 0x2400000 |
|
29 SKINICON = qtg_large_radio |
|
30 ICON = resources/qtg_large_radio.svg # Fallback icon in case theme doesn't have one |
|
31 |
|
32 LIBS += -lxqserviceutil |
|
33 LIBS += -lxqsettingsmanager |
|
34 |
|
35 BLD_INF_RULES.prj_exports += "resources/fmradio.docml /epoc32/release/winscw/udeb/z/resource/hb/splashml/fmradio.docml" \ |
|
36 "resources/fmradio.splashml /epoc32/release/winscw/udeb/z/resource/hb/splashml/fmradio.splashml" \ |
|
37 "resources/fmradio.docml /epoc32/data/z/resource/hb/splashml/fmradio.docml" \ |
|
38 "resources/fmradio.splashml /epoc32/data/z/resource/hb/splashml/fmradio.splashml" |
|
39 } |
|
40 |
|
41 CONFIG += hb service |
|
42 |
|
43 # Service provider specific configuration. |
|
44 SERVICE.FILE = resources/service_conf.xml |
|
45 |
|
46 INCLUDEPATH += . inc |
|
47 INCLUDEPATH += ../../common |
|
48 INCLUDEPATH += ../radiouiengine/inc |
|
49 INCLUDEPATH += ../radiowidgets/inc |
|
50 |
|
51 LIBS += -lfmradiouiengine |
|
52 LIBS += -lfmradiowidgets |
|
53 |
|
54 # UI does not normally depend on the wrapper, but it does on two special cases |
|
55 # 1. Logging is enabled. The logger is in the wrapper module |
|
56 # 2. Radio is built for win32 target. The test window needs to access the wrapper |
|
57 LOGGING_ENABLED:LIBS += -lfmradioenginewrapper |
|
58 |
|
59 # Sources |
|
60 HEADERS += radioapplication.h |
|
61 |
|
62 SOURCES += main.cpp |
|
63 SOURCES += radioapplication.cpp |
|
64 |
|
65 # Win32 specific stuff |
|
66 win32: { |
|
67 LIBS += -lfmradioenginewrapper |
|
68 |
|
69 HEADERS += testwindow_win32.h |
|
70 |
|
71 SOURCES += testwindow_win32.cpp |
|
72 |
|
73 DEFINES += HB_RESOURCES_DIR=\"\\\"$${HB_RESOURCES_DIR}\\\"\" |
|
74 } |
|
75 |
|
76 DEPENDPATH += $$INCLUDEPATH src |
|