When -no-opengl was used then it was not automatically pulling in the needed Windows libraries as it was not loading opengl.prf to get them from. Change-Id: I9b73e5ee01da964a64c71b6261ff4ed98ce6f1a9 Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
54 lines
974 B
Prolog
54 lines
974 B
Prolog
TARGET = wmfengine
|
|
QT += multimedia-private network
|
|
qtHaveModule(widgets) {
|
|
QT += multimediawidgets-private
|
|
DEFINES += HAVE_WIDGETS
|
|
}
|
|
win32:!qtHaveModule(opengl) {
|
|
LIBS_PRIVATE += -lgdi32 -luser32
|
|
}
|
|
|
|
PLUGIN_TYPE=mediaservice
|
|
PLUGIN_CLASS_NAME = WMFServicePlugin
|
|
load(qt_plugin)
|
|
|
|
INCLUDEPATH += .
|
|
|
|
HEADERS += \
|
|
wmfserviceplugin.h \
|
|
mfstream.h \
|
|
sourceresolver.h \
|
|
samplegrabber.h \
|
|
mftvideo.h \
|
|
mfglobal.h \
|
|
mfactivate.h
|
|
|
|
SOURCES += \
|
|
wmfserviceplugin.cpp \
|
|
mfstream.cpp \
|
|
sourceresolver.cpp \
|
|
samplegrabber.cpp \
|
|
mftvideo.cpp \
|
|
mfactivate.cpp \
|
|
mfglobal.cpp
|
|
|
|
contains(QT_CONFIG, angle) {
|
|
LIBS += -ld3d9 -ldxva2 -lwinmm -levr
|
|
QT += gui-private
|
|
|
|
HEADERS += \
|
|
evrcustompresenter.h \
|
|
evrd3dpresentengine.h
|
|
|
|
SOURCES += \
|
|
evrcustompresenter.cpp \
|
|
evrd3dpresentengine.cpp
|
|
}
|
|
|
|
|
|
include (player/player.pri)
|
|
include (decoder/decoder.pri)
|
|
|
|
OTHER_FILES += \
|
|
wmf.json
|