mirror of https://github.com/mgba-emu/mgba.git
Qt: Link QJpegPlugin on static Windows
This commit is contained in:
parent
86327de14f
commit
4afacfa067
|
@ -222,7 +222,7 @@ if(${QT}Multimedia_FOUND)
|
|||
list(APPEND SOURCE_FILES
|
||||
VideoDumper.cpp)
|
||||
if (WIN32 AND QT_STATIC)
|
||||
list(APPEND QT_LIBRARIES ${QT}::QWindowsAudioPlugin ${QT}::DSServicePlugin ${QT}::QWindowsVistaStylePlugin
|
||||
list(APPEND QT_LIBRARIES ${QT}::QWindowsAudioPlugin ${QT}::DSServicePlugin ${QT}::QWindowsVistaStylePlugin ${QT}::QJpegPlugin
|
||||
strmiids mfuuid mfplat mf ksguid dxva2 evr d3d9)
|
||||
endif()
|
||||
list(APPEND QT_LIBRARIES ${QT}::Multimedia)
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
#ifdef QT_STATIC
|
||||
#include <QtPlugin>
|
||||
#ifdef Q_OS_WIN
|
||||
Q_IMPORT_PLUGIN(QJpegPlugin);
|
||||
Q_IMPORT_PLUGIN(QWindowsIntegrationPlugin);
|
||||
Q_IMPORT_PLUGIN(QWindowsVistaStylePlugin);
|
||||
#ifdef BUILD_QT_MULTIMEDIA
|
||||
|
|
Loading…
Reference in New Issue