1
mirror of https://github.com/monero-project/monero-gui synced 2024-12-29 23:26:24 +01:00

msys64 deploy fix

This commit is contained in:
Ilya Kitaev 2016-08-03 15:59:42 +03:00
parent f640809d25
commit 7c33ea931a
2 changed files with 7 additions and 8 deletions

View File

@ -10,7 +10,7 @@ fi
if [ ! -d build ]; then mkdir build; fi if [ ! -d build ]; then mkdir build; fi
cd build cd build
echo $(pwd)
qmake ../monero-core.pro "CONFIG+=release" qmake ../monero-core.pro "CONFIG+=release"
make make
make deploy make deploy

View File

@ -113,23 +113,25 @@ TRANSLATIONS = \ # English is default language, no explicit translation file
$$PWD/translations/monero-core_pl.ts \ # Polish $$PWD/translations/monero-core_pl.ts \ # Polish
CONFIG(release, debug|release) { CONFIG(release, debug|release) {
DESTDIR = release DESTDIR = release/bin
LANGUPD_OPTIONS = -locations relative -no-ui-lines LANGUPD_OPTIONS = -locations relative -no-ui-lines
LANGREL_OPTIONS = -compress -nounfinished -removeidentical LANGREL_OPTIONS = -compress -nounfinished -removeidentical
} else { } else {
DESTDIR = debug DESTDIR = debug/bin
LANGUPD_OPTIONS = LANGUPD_OPTIONS =
LANGREL_OPTIONS = -markuntranslated "MISS_TR " LANGREL_OPTIONS = -markuntranslated "MISS_TR "
} }
TARGET_FULL_PATH = $$OUT_PWD/$$DESTDIR TARGET_FULL_PATH = $$OUT_PWD/$$DESTDIR
TRANSLATION_TARGET_DIR = $$TARGET_FULL_PATH/translations
macx { macx {
TARGET_FULL_PATH = $$sprintf("%1/%2/%3.app", $$OUT_PWD, $$DESTDIR, $$TARGET) TARGET_FULL_PATH = $$sprintf("%1/%2/%3.app", $$OUT_PWD, $$DESTDIR, $$TARGET)
TRANSLATION_TARGET_DIR = $$TARGET_FULL_PATH/Contents/Resources/translations
} }
TRANSLATION_TARGET_DIR = $$TARGET_FULL_PATH/Contents/Resources/translations
isEmpty(QMAKE_LUPDATE) { isEmpty(QMAKE_LUPDATE) {
win32:LANGUPD = $$[QT_INSTALL_BINS]\lupdate.exe win32:LANGUPD = $$[QT_INSTALL_BINS]\lupdate.exe
@ -167,17 +169,14 @@ macx {
} }
win32 { win32 {
deploy.commands += windeployqt $$sprintf("%1/%2/%3", $$OUT_PWD, $$DESTDIR, $$TARGET) deploy.commands += windeployqt $$sprintf("%1/%2/%3.exe", $$OUT_PWD, $$DESTDIR, $$TARGET) -qmldir=$$PWD
} }
OTHER_FILES += \ OTHER_FILES += \
.gitignore \ .gitignore \
$$TRANSLATIONS $$TRANSLATIONS
DISTFILES += \ DISTFILES += \
notes.txt notes.txt