mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-05 10:40:42 +00:00
Only copy current .qm files during build, rather than everything in the temporary directory.
This commit is contained in:
parent
acd7b04b7b
commit
42685cfbb6
@ -171,7 +171,7 @@ macx {
|
||||
# QtTransFiles.path = Contents/translations
|
||||
# QMAKE_BUNDLE_DATA += QtTransFiles
|
||||
|
||||
TransFiles.files = $$files($$PWD/translations/*.qm)
|
||||
TransFiles.files = $${TRANSLATIONS_FILES}
|
||||
TransFiles.path = Contents/Resources/translations
|
||||
QMAKE_BUNDLE_DATA += TransFiles
|
||||
|
||||
@ -186,7 +186,7 @@ macx {
|
||||
DDIR = $$OUT_PWD/Translations
|
||||
HTMLDIR = $$OUT_PWD/Html
|
||||
|
||||
TRANS_FILES = $$PWD/translations/*.qm
|
||||
TRANS_FILES = $${TRANSLATIONS_FILES}
|
||||
|
||||
win32 {
|
||||
TRANS_FILES_WIN = $${TRANS_FILES}
|
||||
|
Loading…
Reference in New Issue
Block a user