From 5963a15bbd8479a1a3eafcb5fc8bf9a98ccc2769 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Wed, 14 Nov 2018 00:20:18 -0800 Subject: [PATCH] MXE: add missing Qt5PositioningQuick.dll Without this the map won't load. Signed-off-by: Dirk Hohndel --- CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index a36b61f07..0cc383d98 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -492,6 +492,13 @@ elseif(CMAKE_SYSTEM_NAME STREQUAL "Windows") install(TARGETS ${SUBSURFACE_TARGET} DESTINATION ${WINDOWSSTAGING}) install(FILES ${CMAKE_BINARY_DIR}/qt.conf DESTINATION ${WINDOWSSTAGING}) install(DIRECTORY ${CMAKE_INSTALL_PREFIX}/lib/grantlee DESTINATION ${WINDOWSSTAGING}) + + if(NOT Qt5Core_VERSION VERSION_LESS 5.11.0) + # hack to work around the fact that we don't process the dependencies of plugins + # as of Qt 5.11 this additional DLL is needed and it's only referenced in the qml DLLs + install(FILES ${_qt5Core_install_prefix}/bin/Qt5PositioningQuick.dll DESTINATION ${WINDOWSSTAGING}) + endif() + if(NOT DEFINED MAKENSIS) set(MAKENSIS makensis) endif()