Fix regression in Qt packaging on Windows

This commit is contained in:
Jonathan White
2018-02-27 00:22:13 -05:00
parent 114f87c6b4
commit c13c6ade29

View File

@@ -380,7 +380,8 @@ if(MINGW)
" COMPONENT Runtime)
include(DeployQt4)
install_qt4_executable(${PROGNAME}.exe)
# install Qt5 plugins
set(PLUGINS_DIR ${Qt5_PREFIX}/share/qt5/plugins)
install(FILES ${PLUGINS_DIR}/platforms/qwindows$<$<CONFIG:Debug>:d>.dll DESTINATION "platforms")