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