diff --git a/monero-core.pro b/monero-core.pro index 4d3a556a..29fedea8 100644 --- a/monero-core.pro +++ b/monero-core.pro @@ -153,7 +153,7 @@ langrel.commands = \ $$LANGREL $$LANGREL_OPTIONS ${QMAKE_FILE_IN} -qm $$TRANSLATION_TARGET_DIR/${QMAKE_FILE_BASE}.qm langrel.CONFIG += no_link -QMAKE_EXTRA_TARGETS += langupd deploy +QMAKE_EXTRA_TARGETS += langupd deploy deploy_win QMAKE_EXTRA_COMPILERS += langrel PRE_TARGETDEPS += langupd compiler_langrel_make_all @@ -170,6 +170,7 @@ macx { win32 { deploy.commands += windeployqt $$sprintf("%1/%2/%3.exe", $$OUT_PWD, $$DESTDIR, $$TARGET) -qmldir=$$PWD + deploy.commands += $$escape_expand(\n\t) $$PWD/windeploy_helper.sh $$DESTDIR } diff --git a/windeploy_helper.sh b/windeploy_helper.sh new file mode 100644 index 00000000..7649db64 --- /dev/null +++ b/windeploy_helper.sh @@ -0,0 +1,20 @@ +#!/bin/bash + +TARGET=$1 + +FILES="zlib1.dll libwinpthread-1.dll libtiff-5.dll libstdc++-6.dll libpng16-16.dll libpcre16-0.dll libpcre-1.dll libmng-2.dll liblzma-5.dll liblcms2-2.dll libjpeg-8.dll libjasper-1.dll libintl-8.dll libicuuc57.dll libicuin57.dll libicudt57.dll libiconv-2.dll libharfbuzz-0.dll libgraphite2.dll libglib-2.0-0.dll libgcc_s_seh-1.dll libfreetype-6.dll libbz2-1.dll" + +for f in $FILES; do cp $MSYSTEM_PREFIX/bin/$f $TARGET; done + + + + + + + + + + + + +