Merge pull request #6040 from stfnp/fix-qt5-static-linking

Add missing dependency for static Qt builds on Windows
This commit is contained in:
Griffin Downs 2019-04-11 23:13:40 -07:00 committed by GitHub
commit 6a9371b571
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
Source: qt5-base
Version: 5.12.1-3
Version: 5.12.1-4
Description: Qt5 Application Framework Base Module. Includes Core, GUI, Widgets, Networking, SQL, Concurrent and other essential qt components.
Build-Depends: zlib, libjpeg-turbo, libpng, freetype, pcre2, harfbuzz, sqlite3, libpq, double-conversion, openssl

View File

@ -35,7 +35,7 @@ if("${_target_type}" STREQUAL "STATIC_LIBRARY")
if(MSVC)
set_property(TARGET Qt5::Core APPEND PROPERTY INTERFACE_LINK_LIBRARIES
Netapi32.lib Ws2_32.lib Mincore.lib Winmm.lib Iphlpapi.lib Wtsapi32.lib Dwmapi.lib)
Netapi32.lib Ws2_32.lib Mincore.lib Winmm.lib Iphlpapi.lib Wtsapi32.lib Dwmapi.lib Imm32.lib)
add_qt_library(Qt5::Core Qt5WindowsUIAutomationSupport qwindows qdirect2d)
@ -63,4 +63,4 @@ if("${_target_type}" STREQUAL "STATIC_LIBRARY")
qcocoa)
endif()
endif()
endif()