Fix build
parent
31d627bca9
commit
3ee492f623
18
dust3d.pro
18
dust3d.pro
|
@ -31,17 +31,17 @@ for(tsfile, TRANSLATIONS) {
|
||||||
########################################################
|
########################################################
|
||||||
|
|
||||||
############## Generate .ts file #######################
|
############## 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)
|
||||||
# Update the .ts file from source
|
LUPDATE += src/*.cpp src/*.h -locations none
|
||||||
qtPrepareTool(LUPDATE, lupdate)
|
for(lang, LANGUAGES) {
|
||||||
LUPDATE += src/*.cpp src/*.h -locations none
|
command = $$LUPDATE -ts languages/dust3d_$${lang}.ts
|
||||||
for(lang, LANGUAGES) {
|
system($$command)|error("Failed to run: $$command")
|
||||||
command = $$LUPDATE -ts languages/dust3d_$${lang}.ts
|
}
|
||||||
system($$command)|error("Failed to run: $$command")
|
|
||||||
}
|
}
|
||||||
|
|
||||||
##########################################################
|
##########################################################
|
||||||
|
|
||||||
win32 {
|
win32 {
|
||||||
|
|
Loading…
Reference in New Issue