12 # Contributors: |
12 # Contributors: |
13 # |
13 # |
14 # Description: |
14 # Description: |
15 # |
15 # |
16 |
16 |
|
17 TMP_DIR_NAME = app |
17 include(../buildflags.pri) |
18 include(../buildflags.pri) |
18 |
19 |
19 TEMPLATE = app |
20 TEMPLATE = app |
20 TARGET = qtfmradio |
21 TARGET = fmradio |
21 TRANSLATIONS += fmradio.ts |
22 TRANSLATIONS += fmradio.ts |
22 |
23 |
23 symbian: { |
24 symbian: { |
24 TARGET.CAPABILITY = CAP_APPLICATION MultimediaDD |
25 TARGET.CAPABILITY = CAP_APPLICATION MultimediaDD |
25 TARGET.VID = VID_DEFAULT |
26 TARGET.UID3 = 0x2002FF4E |
26 TARGET.UID3 = 0x101FF976 # Old visual radio uid |
|
27 TARGET.EPOCSTACKSIZE = 0x14000 |
27 TARGET.EPOCSTACKSIZE = 0x14000 |
28 TARGET.EPOCHEAPSIZE = 0x020000 0x2400000 |
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 |
|
34 BLD_INF_RULES.prj_exports += "resources/fmradio.docml /epoc32/release/winscw/udeb/z/resource/hb/splashml/fmradio.docml" \ |
|
35 "resources/fmradio.splashml /epoc32/release/winscw/udeb/z/resource/hb/splashml/fmradio.splashml" \ |
|
36 "resources/fmradio.docml /epoc32/data/z/resource/hb/splashml/fmradio.docml" \ |
|
37 "resources/fmradio.splashml /epoc32/data/z/resource/hb/splashml/fmradio.splashml" |
29 } |
38 } |
30 |
39 |
31 CONFIG += hb service |
40 CONFIG += hb service |
|
41 CONFIG += mobility |
|
42 MOBILITY = systeminfo |
32 |
43 |
33 # Service provider specific configuration. |
44 # Service provider specific configuration. |
34 SERVICE.FILE = resources/service_conf.xml |
45 SERVICE.FILE = resources/service_conf.xml |
35 |
46 |
36 INCLUDEPATH += . inc |
47 INCLUDEPATH += . inc |
37 INCLUDEPATH += ../commoninc |
48 INCLUDEPATH += ../../common |
38 INCLUDEPATH += ../radiouiengine/inc |
49 INCLUDEPATH += ../radiouiengine/inc |
39 INCLUDEPATH += ../radiowidgets/inc |
50 INCLUDEPATH += ../radiowidgets/inc |
40 |
51 |
41 LIBS += -lradiouiengine |
52 LIBS += -lfmradiouiengine |
42 LIBS += -lradiowidgets |
53 LIBS += -lfmradiowidgets |
43 |
54 |
44 # UI does not normally depend on the wrapper, but it does on two special cases |
55 # 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 |
56 # 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 |
57 # 2. Radio is built for win32 target. The test window needs to access the wrapper |
47 LOGGING_ENABLED:LIBS += -lradioenginewrapper |
58 LOGGING_ENABLED:LIBS += -lfmradioenginewrapper |
48 |
59 |
49 # Sources |
60 # Sources |
50 HEADERS += radioapplication.h |
61 HEADERS += radioapplication.h |
51 |
62 |
52 SOURCES += main.cpp |
63 SOURCES += main.cpp |
53 SOURCES += radioapplication.cpp |
64 SOURCES += radioapplication.cpp |
54 |
65 |
55 # Win32 specific stuff |
66 # Win32 specific stuff |
56 win32: { |
67 win32: { |
57 LIBS += -lradioenginewrapper |
68 LIBS += -lfmradioenginewrapper |
58 |
69 |
59 HEADERS += testwindow_win32.h |
70 HEADERS += testwindow_win32.h |
60 |
71 |
61 SOURCES += testwindow_win32.cpp |
72 SOURCES += testwindow_win32.cpp |
62 |
73 |