mirror of https://github.com/mgba-emu/mgba.git
Qt: Update static build info
This commit is contained in:
parent
afa55e39ce
commit
b128e5dab8
|
@ -174,7 +174,7 @@ if(Qt5Multimedia_FOUND)
|
||||||
list(APPEND SOURCE_FILES
|
list(APPEND SOURCE_FILES
|
||||||
VideoDumper.cpp)
|
VideoDumper.cpp)
|
||||||
if (WIN32 AND QT_STATIC)
|
if (WIN32 AND QT_STATIC)
|
||||||
list(APPEND QT_LIBRARIES Qt5::QWindowsAudioPlugin Qt5::DSServicePlugin
|
list(APPEND QT_LIBRARIES Qt5::QWindowsAudioPlugin Qt5::DSServicePlugin Qt5::QWindowsVistaStylePlugin
|
||||||
strmiids mfuuid mfplat mf ksguid dxva2 evr d3d9)
|
strmiids mfuuid mfplat mf ksguid dxva2 evr d3d9)
|
||||||
endif()
|
endif()
|
||||||
list(APPEND QT_LIBRARIES Qt5::Multimedia)
|
list(APPEND QT_LIBRARIES Qt5::Multimedia)
|
||||||
|
@ -278,8 +278,8 @@ endif()
|
||||||
if(QT_STATIC)
|
if(QT_STATIC)
|
||||||
find_library(QTPCRE NAMES qtpcre2 qtpcre)
|
find_library(QTPCRE NAMES qtpcre2 qtpcre)
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
list(APPEND QT_LIBRARIES qwindows dwmapi imm32 uxtheme Qt5EventDispatcherSupport Qt5FontDatabaseSupport Qt5ThemeSupport)
|
list(APPEND QT_LIBRARIES qwindows dwmapi imm32 uxtheme Qt5EventDispatcherSupport Qt5FontDatabaseSupport Qt5ThemeSupport Qt5WindowsUIAutomationSupport)
|
||||||
set_target_properties(Qt5::Core PROPERTIES INTERFACE_LINK_LIBRARIES "${QTPCRE};version;winmm;ws2_32")
|
set_target_properties(Qt5::Core PROPERTIES INTERFACE_LINK_LIBRARIES "${QTPCRE};version;winmm;ssl;crypto;ws2_32;iphlpapi;crypt32;userenv;netapi32;wtsapi32")
|
||||||
elseif(APPLE)
|
elseif(APPLE)
|
||||||
find_package(Cups)
|
find_package(Cups)
|
||||||
find_package(Qt5PrintSupport)
|
find_package(Qt5PrintSupport)
|
||||||
|
|
|
@ -21,6 +21,7 @@
|
||||||
#include <QtPlugin>
|
#include <QtPlugin>
|
||||||
#ifdef Q_OS_WIN
|
#ifdef Q_OS_WIN
|
||||||
Q_IMPORT_PLUGIN(QWindowsIntegrationPlugin);
|
Q_IMPORT_PLUGIN(QWindowsIntegrationPlugin);
|
||||||
|
Q_IMPORT_PLUGIN(QWindowsVistaStylePlugin);
|
||||||
#ifdef BUILD_QT_MULTIMEDIA
|
#ifdef BUILD_QT_MULTIMEDIA
|
||||||
Q_IMPORT_PLUGIN(QWindowsAudioPlugin);
|
Q_IMPORT_PLUGIN(QWindowsAudioPlugin);
|
||||||
Q_IMPORT_PLUGIN(DSServicePlugin);
|
Q_IMPORT_PLUGIN(DSServicePlugin);
|
||||||
|
|
Loading…
Reference in New Issue