summaryrefslogtreecommitdiffstats
path: root/src/plugins/wmf/wmf.pro
blob: 68a777f374788a8c7169da822142921ffb73141a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
TARGET = wmfengine
QT += multimedia-private network

win32:!qtHaveModule(opengl) {
    LIBS_PRIVATE += -lgdi32 -luser32
}

PLUGIN_TYPE=mediaservice
PLUGIN_CLASS_NAME = WMFServicePlugin
load(qt_plugin)

INCLUDEPATH += .

HEADERS += \
    wmfserviceplugin.h \
    mfstream.h \
    sourceresolver.h \
    samplegrabber.h \
    mftvideo.h \
    mfglobal.h \
    mfactivate.h

SOURCES += \
    wmfserviceplugin.cpp \
    mfstream.cpp \
    sourceresolver.cpp \
    samplegrabber.cpp \
    mftvideo.cpp \
    mfactivate.cpp \
    mfglobal.cpp

contains(QT_CONFIG, angle)|contains(QT_CONFIG, dynamicgl) {
    LIBS += -ld3d9 -ldxva2 -lwinmm -levr
    QT += gui-private

    HEADERS += \
        $$PWD/evrcustompresenter.h \
        $$PWD/evrd3dpresentengine.h

    SOURCES += \
        $$PWD/evrcustompresenter.cpp \
        $$PWD/evrd3dpresentengine.cpp
}

include (player/player.pri)
include (decoder/decoder.pri)

OTHER_FILES += \
    wmf.json