24
|
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 |
include(../buildflags.pri)
|
|
18 |
|
|
19 |
TEMPLATE = app
|
|
20 |
TARGET = qtfmradio
|
|
21 |
TRANSLATIONS += fmradio.ts
|
|
22 |
|
|
23 |
symbian: {
|
|
24 |
TARGET.CAPABILITY = CAP_APPLICATION MultimediaDD
|
|
25 |
TARGET.VID = VID_DEFAULT
|
|
26 |
TARGET.UID3 = 0x101FF976 # Old visual radio uid
|
|
27 |
TARGET.EPOCSTACKSIZE = 0x14000
|
|
28 |
TARGET.EPOCHEAPSIZE = 0x020000 0x2400000
|
|
29 |
}
|
|
30 |
|
|
31 |
CONFIG += hb service
|
|
32 |
|
|
33 |
# Service provider specific configuration.
|
|
34 |
SERVICE.FILE = resources/service_conf.xml
|
|
35 |
|
|
36 |
INCLUDEPATH += . inc
|
|
37 |
INCLUDEPATH += ../commoninc
|
|
38 |
INCLUDEPATH += ../radiouiengine/inc
|
|
39 |
INCLUDEPATH += ../radiowidgets/inc
|
|
40 |
|
|
41 |
LIBS += -lradiouiengine
|
|
42 |
LIBS += -lradiowidgets
|
|
43 |
|
|
44 |
# UI does not normally depend on the wrapper, but it does on two special cases
|
|
45 |
# 1. Logging is enabled. The logger is in the wrapper module
|
|
46 |
# 2. Radio is built for win32 target. The test window needs to access the wrapper
|
|
47 |
LOGGING_ENABLED:LIBS += -lradioenginewrapper
|
|
48 |
|
|
49 |
# Sources
|
|
50 |
HEADERS += radioapplication.h
|
|
51 |
|
|
52 |
SOURCES += main.cpp
|
|
53 |
SOURCES += radioapplication.cpp
|
|
54 |
|
|
55 |
# Win32 specific stuff
|
|
56 |
win32: {
|
|
57 |
LIBS += -lradioenginewrapper
|
|
58 |
|
|
59 |
HEADERS += testwindow_win32.h
|
|
60 |
|
|
61 |
SOURCES += testwindow_win32.cpp
|
|
62 |
|
|
63 |
DEFINES += HB_RESOURCES_DIR=\"\\\"$${HB_RESOURCES_DIR}\\\"\"
|
|
64 |
}
|
|
65 |
|
|
66 |
DEPENDPATH += $$INCLUDEPATH src
|