From bcaf160eab972421abbd1e83bcb97cef61a13b5e Mon Sep 17 00:00:00 2001 From: "Alexander \"Ace\" Olofsson" Date: Mon, 29 Aug 2016 07:07:50 +0200 Subject: [PATCH] Add some missing Qt DLLs --- CI/before_script.msvc.sh | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/CI/before_script.msvc.sh b/CI/before_script.msvc.sh index acf85d9848..61343c104c 100644 --- a/CI/before_script.msvc.sh +++ b/CI/before_script.msvc.sh @@ -195,6 +195,11 @@ add_osg_dlls() { OSG_PLUGINS="$OSG_PLUGINS $@" } +QT_PLATFORMS="" +add_qt_platform_dlls() { + QT_PLATFORMS="$QT_PLATFORMS $@" +} + if [ -z $PLATFORM ]; then PLATFORM="$(uname -m)" fi @@ -596,7 +601,9 @@ fi SUFFIX="" fi - add_runtime_dlls "$(pwd)/bin/Qt5"{Core,Gui,Network,OpenGL,Widgets}${SUFFIX}.dll + add_runtime_dlls "$(pwd)/bin/lib"{EGL,GLESv2}${SUFFIX}.dll \ + "$(pwd)/bin/Qt5"{Core,Gui,Network,OpenGL,Widgets}${SUFFIX}.dll + add_qt_platform_dlls "$(pwd)/plugins/platforms/qwindows${SUFFIX}.dll" echo Done. else @@ -696,6 +703,14 @@ if [ -z $CI ]; then cp "$DLL" $BUILD_CONFIG/osgPlugins-3.4.0 done echo + + echo "- Qt Platform DLLs..." + mkdir -p ${BUILD_CONFIG}/platforms + for DLL in $QT_PLATFORMS; do + echo " $(basename $DLL)" + cp "$DLL" "${BUILD_CONFIG}/platforms" + done + echo fi if [ -z $VERBOSE ]; then