Fix build

master
Jeremy Hu 2019-07-09 08:20:09 +09:30
parent 31d627bca9
commit 3ee492f623
1 changed files with 9 additions and 9 deletions

View File

@ -31,17 +31,17 @@ for(tsfile, TRANSLATIONS) {
########################################################
############## Generate .ts file #######################
macx {
wd = $$replace(PWD, /, $$QMAKE_DIR_SEP)
wd = $$replace(PWD, /, $$QMAKE_DIR_SEP)
# Update the .ts file from source
qtPrepareTool(LUPDATE, lupdate)
LUPDATE += src/*.cpp src/*.h -locations none
for(lang, LANGUAGES) {
# Update the .ts file from source
qtPrepareTool(LUPDATE, lupdate)
LUPDATE += src/*.cpp src/*.h -locations none
for(lang, LANGUAGES) {
command = $$LUPDATE -ts languages/dust3d_$${lang}.ts
system($$command)|error("Failed to run: $$command")
}
}
##########################################################
win32 {