mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-14 20:36:32 +02:00
Deploy additional mingw dependencies
This commit is contained in:
parent
7c33ea931a
commit
4ee5d785c5
@ -153,7 +153,7 @@ langrel.commands = \
|
|||||||
$$LANGREL $$LANGREL_OPTIONS ${QMAKE_FILE_IN} -qm $$TRANSLATION_TARGET_DIR/${QMAKE_FILE_BASE}.qm
|
$$LANGREL $$LANGREL_OPTIONS ${QMAKE_FILE_IN} -qm $$TRANSLATION_TARGET_DIR/${QMAKE_FILE_BASE}.qm
|
||||||
langrel.CONFIG += no_link
|
langrel.CONFIG += no_link
|
||||||
|
|
||||||
QMAKE_EXTRA_TARGETS += langupd deploy
|
QMAKE_EXTRA_TARGETS += langupd deploy deploy_win
|
||||||
QMAKE_EXTRA_COMPILERS += langrel
|
QMAKE_EXTRA_COMPILERS += langrel
|
||||||
PRE_TARGETDEPS += langupd compiler_langrel_make_all
|
PRE_TARGETDEPS += langupd compiler_langrel_make_all
|
||||||
|
|
||||||
@ -170,6 +170,7 @@ macx {
|
|||||||
|
|
||||||
win32 {
|
win32 {
|
||||||
deploy.commands += windeployqt $$sprintf("%1/%2/%3.exe", $$OUT_PWD, $$DESTDIR, $$TARGET) -qmldir=$$PWD
|
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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
20
windeploy_helper.sh
Normal file
20
windeploy_helper.sh
Normal file
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user