summaryrefslogtreecommitdiff
path: root/src/plugins/directshow/player/player.pri
blob: 18817b8791e50c111b8b74e56f5ed6c2d49b7448 (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
INCLUDEPATH += $$PWD

QMAKE_USE += directshow
LIBS += -lgdi32

qtHaveModule(widgets): QT += widgets

DEFINES += QMEDIA_DIRECTSHOW_PLAYER

HEADERS += \
        $$PWD/directshowioreader.h \
        $$PWD/directshowiosource.h \
        $$PWD/directshowplayercontrol.h \
        $$PWD/directshowplayerservice.h \
        $$PWD/directshowvideorenderercontrol.h \
        $$PWD/videosurfacefilter.h \
        $$PWD/directshowaudioendpointcontrol.h \
        $$PWD/directshowmetadatacontrol.h \
        $$PWD/vmr9videowindowcontrol.h

SOURCES += \
        $$PWD/directshowioreader.cpp \
        $$PWD/directshowiosource.cpp \
        $$PWD/directshowplayercontrol.cpp \
        $$PWD/directshowplayerservice.cpp \
        $$PWD/directshowvideorenderercontrol.cpp \
        $$PWD/videosurfacefilter.cpp \
        $$PWD/directshowaudioendpointcontrol.cpp \
        $$PWD/directshowmetadatacontrol.cpp \
        $$PWD/vmr9videowindowcontrol.cpp

qtConfig(evr) {
    include($$PWD/../../common/evr.pri)

    HEADERS += \
        $$PWD/directshowevrvideowindowcontrol.h

    SOURCES += \
        $$PWD/directshowevrvideowindowcontrol.cpp
}

qtConfig(wshellitem) {
    QT += core-private
} else {
    DEFINES += QT_NO_SHELLITEM
}