aboutsummaryrefslogtreecommitdiffstats
path: root/packaging/windows
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/windows')
-rwxr-xr-xpackaging/windows/mxe-based-build.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/packaging/windows/mxe-based-build.sh b/packaging/windows/mxe-based-build.sh
index 7d88f085d..6611549ae 100755
--- a/packaging/windows/mxe-based-build.sh
+++ b/packaging/windows/mxe-based-build.sh
@@ -297,6 +297,8 @@ fi
# finally, Subsurface
cd $BUILDDIR
+
+# first copy the Qt plugins in place
mkdir -p subsurface/staging/plugins
cd subsurface/staging/plugins
cp -a $BASEDIR/mxe/usr/i686-w64-mingw32.shared/qt5/plugins/iconengines .
@@ -304,6 +306,11 @@ cp -a $BASEDIR/mxe/usr/i686-w64-mingw32.shared/qt5/plugins/imageformats .
cp -a $BASEDIR/mxe/usr/i686-w64-mingw32.shared/qt5/plugins/platforms .
cp -a $BASEDIR/mxe/usr/i686-w64-mingw32.shared/qt5/plugins/printsupport .
+# for some reason we aren't installing libssrfmarblewidget.dll and # Qt5Xml.dll
+# I need to figure out why and fix that, but for now just manually copy that as well
+cp $BASEDIR/mxe/usr/i686-w64-mingw32.shared/lib/libssrfmarblewidget.dll $BUILDDIR/subsurface/staging
+cp $BASEDIR/mxe/usr/i686-w64-mingw32.shared/qt5/bin/Qt5Xml.dll $BUILDDIR/subsurface/staging
+
cd $BUILDDIR/subsurface
if [[ "$1" == "qmake" ]] ; then