GH-1408 add bearer plugins

This should fix wifi issues on Windows
This commit is contained in:
Petr Mrázek 2016-01-20 02:44:57 +01:00
parent 2c2b960ab4
commit 47ea2a71c0

View File

@ -375,6 +375,12 @@ if(CMAKE_BUILD_TYPE STREQUAL "Debug" OR CMAKE_BUILD_TYPE STREQUAL "RelWithDebInf
COMPONENT Runtime COMPONENT Runtime
REGEX "minimal|linuxfb|offscreen" EXCLUDE REGEX "minimal|linuxfb|offscreen" EXCLUDE
) )
# Bearer plugins
install(
DIRECTORY "${QT_PLUGINS_DIR}/bearer"
DESTINATION ${PLUGIN_DEST_DIR}
COMPONENT Runtime
)
else() else()
# Image formats # Image formats
install( install(
@ -403,6 +409,14 @@ else()
REGEX "d\\." EXCLUDE REGEX "d\\." EXCLUDE
REGEX "_debug\\." EXCLUDE REGEX "_debug\\." EXCLUDE
) )
# Bearer plugins
install(
DIRECTORY "${QT_PLUGINS_DIR}/bearer"
DESTINATION ${PLUGIN_DEST_DIR}
COMPONENT Runtime
REGEX "d\\." EXCLUDE
REGEX "_debug\\." EXCLUDE
)
if(APPLE) if(APPLE)
# Accessible plugin to make buttons look decent on osx # Accessible plugin to make buttons look decent on osx
if("${Qt5Core_VERSION_STRING}" VERSION_LESS "5.4.0") if("${Qt5Core_VERSION_STRING}" VERSION_LESS "5.4.0")