|
1 INCLUDEPATH += $$PWD |
|
2 LIBS += -lmediaclientvideo \ |
|
3 -lmediaclientaudio \ |
|
4 -lws32 \ |
|
5 -lfbscli \ |
|
6 -lcone \ |
|
7 -lmmfcontrollerframework \ |
|
8 -lefsrv \ |
|
9 -lbitgdi \ |
|
10 -lapgrfx \ |
|
11 -lapmime \ |
|
12 |
|
13 # If support to DRM is wanted then comment out the following line |
|
14 #CONFIG += drm_supported |
|
15 |
|
16 # We are building Symbian backend with media player support |
|
17 DEFINES += HAS_MEDIA_PLAYER |
|
18 |
|
19 drm_supported { |
|
20 LIBS += -ldrmaudioplayutility |
|
21 DEFINES += S60_DRM_SUPPORTED |
|
22 } |
|
23 |
|
24 HEADERS += \ |
|
25 $$PWD/s60mediaplayercontrol.h \ |
|
26 $$PWD/s60mediaplayerservice.h \ |
|
27 $$PWD/s60mediaplayersession.h \ |
|
28 $$PWD/s60mediametadataprovider.h \ |
|
29 $$PWD/s60videoplayersession.h \ |
|
30 $$PWD/s60videosurface.h \ |
|
31 $$PWD/s60videooverlay.h \ |
|
32 $$PWD/s60videorenderer.h \ |
|
33 $$PWD/s60mediarecognizer.h \ |
|
34 $$PWD/s60audioplayersession.h \ |
|
35 $$PWD/ms60mediaplayerresolver.h \ |
|
36 $$PWD/s60videowidget.h \ |
|
37 $$PWD/s60mediaplayeraudioendpointselector.h |
|
38 |
|
39 SOURCES += \ |
|
40 $$PWD/s60mediaplayercontrol.cpp \ |
|
41 $$PWD/s60mediaplayerservice.cpp \ |
|
42 $$PWD/s60mediaplayersession.cpp \ |
|
43 $$PWD/s60mediametadataprovider.cpp \ |
|
44 $$PWD/s60videoplayersession.cpp \ |
|
45 $$PWD/s60videosurface.cpp \ |
|
46 $$PWD/s60videooverlay.cpp \ |
|
47 $$PWD/s60videorenderer.cpp \ |
|
48 $$PWD/s60mediarecognizer.cpp \ |
|
49 $$PWD/s60audioplayersession.cpp \ |
|
50 $$PWD/s60videowidget.cpp \ |
|
51 $$PWD/s60mediaplayeraudioendpointselector.cpp |
|
52 |
|
53 |
|
54 contains(surfaces_s60_enabled,yes) { |
|
55 DEFINES += MMF_VIDEO_SURFACES_SUPPORTED |
|
56 message("Surfaces_s60 enabled") |
|
57 } |
|
58 |
|
59 contains(S60_VERSION, 3.1) { |
|
60 #3.1 doesn't provide audio routing in videoplayer |
|
61 contains(audiorouting_s60_enabled,yes) { |
|
62 MMP_RULES += "$${LITERAL_HASH}ifndef WINSCW" \ |
|
63 "MACRO HAS_AUDIOROUTING" \ |
|
64 "LIBRARY audiooutputrouting.lib" \ |
|
65 "$${LITERAL_HASH}endif" |
|
66 message("Note: AudioOutput Routing API not supported for 3.1 winscw target and in videoplayer") |
|
67 } |
|
68 |
|
69 } else { |
|
70 contains(audiorouting_s60_enabled,yes) { |
|
71 #We use audiooutputrouting.lib for directing audio output to speaker/earspeaker |
|
72 DEFINES += HAS_AUDIOROUTING_IN_VIDEOPLAYER |
|
73 DEFINES += HAS_AUDIOROUTING |
|
74 message("Audiorouting_s60 enabled for post 3.1 sdk") |
|
75 LIBS += -laudiooutputrouting |
|
76 } |
|
77 |
|
78 } |
|
79 |
|
80 exists($$[QT_INSTALL_HEADERS]\QtGui\private\qwidget_p.h) { |
|
81 DEFINES += USE_PRIVATE_QWIDGET_METHODS |
|
82 message("Enabling use of private QWidget methods") |
|
83 } |