Skip to content

Commit 3851224

Browse files
committed
Add absolute path to the lupdate and lrelease commands
1 parent a2f39b1 commit 3851224

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

gcodeworkshop_top.pro

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,20 @@ include(install/install.pri)
1010
QMAKE_EXTRA_TARGETS += lupdate
1111
lupdate.depends = lupdateGCodeWorkShop lupdateKdiff3
1212
QMAKE_EXTRA_TARGETS += lupdateGCodeWorkShop lupdateKdiff3
13-
lupdateGCodeWorkShop.commands = lupdate $$PROJECT_ROOT_PATH/gcodeworkshop $$PROJECT_ROOT_PATH/gcodeshared $$PROJECT_ROOT_PATH/gcodefileserver $$PROJECT_ROOT_PATH/addons -ts $$tsFiles(gcodeworkshop)
14-
lupdateKdiff3.commands = lupdate $$PROJECT_ROOT_PATH/3rdparty/kdiff3 -ts $$tsFiles(kdiff3)
13+
lupdateGCodeWorkShop.commands = $$[QT_INSTALL_BINS]/lupdate \
14+
$$PROJECT_ROOT_PATH/gcodeworkshop \
15+
$$PROJECT_ROOT_PATH/gcodeshared \
16+
$$PROJECT_ROOT_PATH/gcodefileserver \
17+
$$PROJECT_ROOT_PATH/addons \
18+
-ts $$tsFiles(gcodeworkshop)
19+
lupdateKdiff3.commands = $$[QT_INSTALL_BINS]/lupdate \
20+
$$PROJECT_ROOT_PATH/3rdparty/kdiff3 \
21+
-ts $$tsFiles(kdiff3)
1522

1623
QMAKE_EXTRA_TARGETS += lrelease
17-
lrelease.commands = lrelease $$tsFiles(gcodeworkshop) $$tsFiles(kdiff3)
24+
lrelease.commands = $$[QT_INSTALL_BINS]/lrelease \
25+
$$tsFiles(gcodeworkshop) \
26+
$$tsFiles(kdiff3)
1827

1928
translate.files = $$LANG_PATH/*.qm
2029
examples.files = $$PROJECT_ROOT_PATH/examples/*

0 commit comments

Comments
 (0)