Add some missing Qt DLLs

pull/50/head
Alexander "Ace" Olofsson 8 years ago
parent c93f7b90c5
commit bcaf160eab

@ -195,6 +195,11 @@ add_osg_dlls() {
OSG_PLUGINS="$OSG_PLUGINS $@" OSG_PLUGINS="$OSG_PLUGINS $@"
} }
QT_PLATFORMS=""
add_qt_platform_dlls() {
QT_PLATFORMS="$QT_PLATFORMS $@"
}
if [ -z $PLATFORM ]; then if [ -z $PLATFORM ]; then
PLATFORM="$(uname -m)" PLATFORM="$(uname -m)"
fi fi
@ -596,7 +601,9 @@ fi
SUFFIX="" SUFFIX=""
fi 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. echo Done.
else else
@ -696,6 +703,14 @@ if [ -z $CI ]; then
cp "$DLL" $BUILD_CONFIG/osgPlugins-3.4.0 cp "$DLL" $BUILD_CONFIG/osgPlugins-3.4.0
done done
echo 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 fi
if [ -z $VERBOSE ]; then if [ -z $VERBOSE ]; then

Loading…
Cancel
Save