| 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 |
| } |
| |
| mingw { |
| LIBS_PRIVATE += -lamstrmid |
| } |
| |
| 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) |