summaryrefslogtreecommitdiff
path: root/src/plugins/directshow/directshow.pro
blob: e531efc53ab4950900cb1cd461a181c7aa9f53cd (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
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)
include(player/player.pri)
include(camera/camera.pri)

OTHER_FILES += \
    directshow.json

PLUGIN_TYPE = mediaservice
PLUGIN_CLASS_NAME = DSServicePlugin
load(qt_plugin)