|
1 TEMPLATE = lib |
|
2 CONFIG += plugin |
|
3 TARGET = $$qtLibraryTarget(qt7engine) |
|
4 QT += opengl multimedia |
|
5 |
|
6 PLUGIN_TYPE = mediaservice |
|
7 |
|
8 include (../../../common.pri) |
|
9 |
|
10 qtAddLibrary(QtMedia) |
|
11 |
|
12 LIBS += -framework AppKit -framework AudioUnit \ |
|
13 -framework AudioToolbox -framework CoreAudio \ |
|
14 -framework QuartzCore -framework QTKit |
|
15 |
|
16 # The Quicktime framework is only awailable for 32-bit builds, so we |
|
17 # need to check for this before linking against it. |
|
18 # QMAKE_MAC_XARCH is not awailable on Tiger, but at the same time, |
|
19 # we never build for 64-bit architechtures on Tiger either: |
|
20 contains(QMAKE_MAC_XARCH, no) { |
|
21 LIBS += -framework QuickTime |
|
22 } else { |
|
23 LIBS += -Xarch_i386 -framework QuickTime -Xarch_ppc -framework QuickTime |
|
24 } |
|
25 |
|
26 INCLUDEPATH += ../../../src/multimedia |
|
27 |
|
28 DEPENDPATH += . |
|
29 |
|
30 HEADERS += \ |
|
31 qt7backend.h \ |
|
32 qt7playercontrol.h \ |
|
33 qt7videooutputcontrol.h \ |
|
34 qt7movieviewoutput.h \ |
|
35 qt7movievideowidget.h \ |
|
36 qt7movieviewrenderer.h \ |
|
37 qt7playersession.h \ |
|
38 qt7playerservice.h \ |
|
39 qt7serviceplugin.h \ |
|
40 qt7movierenderer.h \ |
|
41 qt7playermetadata.h \ |
|
42 qcvdisplaylink.h |
|
43 |
|
44 |
|
45 OBJECTIVE_SOURCES += \ |
|
46 qt7backend.mm \ |
|
47 qt7playersession.mm \ |
|
48 qt7serviceplugin.mm \ |
|
49 qt7movieviewoutput.mm \ |
|
50 qt7movievideowidget.mm \ |
|
51 qt7movieviewrenderer.mm \ |
|
52 qt7playermetadata.mm \ |
|
53 qt7movierenderer.mm \ |
|
54 qt7playercontrol.mm \ |
|
55 qt7videooutputcontrol.mm \ |
|
56 qt7playerservice.mm \ |
|
57 qcvdisplaylink.mm |
|
58 |
|
59 |
|
60 target.path=$$QT_MOBILITY_PREFIX/plugins/mediaservice |
|
61 INSTALLS+=target |