summaryrefslogtreecommitdiffstats
path: root/src/plugins/directshow/directshow.pro
blob: 54d6171667a12b6c930e1ede8869d935dc90f6ca (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
TARGET = dsengine
QT += multimedia-private

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

HEADERS += dsserviceplugin.h
SOURCES += dsserviceplugin.cpp

# Remove WINVER/_WIN32_WINNT definitions added to qt_build_config.prf
# by qtbase/d57a7c41712f8627a462d893329dc3f0dbb52d32 since the multimedia
# headers of MinGW 5.3/7.1 are too broken to compile with 0x0601.
mingw {
    DEFINES -= WINVER=0x0601 _WIN32_WINNT=0x0601
    DEFINES += NO_DSHOW_STRSAFE
}

include(common/common.pri)
qtConfig(directshow-player): include(player/player.pri)
include(camera/camera.pri)

OTHER_FILES += \
    directshow.json \
    directshow_camera.json

PLUGIN_TYPE = mediaservice
PLUGIN_CLASS_NAME = DSServicePlugin
load(qt_plugin)