TARGET = dsengine
win32:!qtHaveModule(opengl) {
    LIBS_PRIVATE += -lgdi32 -luser32
}
PLUGIN_TYPE=mediaservice
PLUGIN_CLASS_NAME = DSServicePlugin
load(qt_plugin)

QT += multimedia-private

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

!config_wmsdk: DEFINES += QT_NO_WMSDK

qtHaveModule(widgets) {
    QT += multimediawidgets
    DEFINES += HAVE_WIDGETS
}

mingw: DEFINES += NO_DSHOW_STRSAFE

!config_wmf: include(player/player.pri)
#include(camera/camera.pri)

OTHER_FILES += \
    directshow.json
#    directshow_camera.json
