Commit f61d21f5 authored by rinigus's avatar rinigus

[packaging] Adjust path of the used tools

qdbusxml2cpp, lupdate, and lrelease may be not available from
path using these names in all distributions. Call these tools
from Qt binary location directly.
Signed-off-by: rinigus's avatarRinigus <rinigus.git@gmail.com>
parent 3c5fd2b2
......@@ -9,7 +9,7 @@ CONFIG += c++11 hide_symbols link_pkgconfig
PKGCONFIG += profile mlite5 mce timed-qt5 blkid libcrypto nemomodels-qt5 libsailfishkeyprovider connman-qt5 glib-2.0
PKGCONFIG += ssu-sysinfo nemodbus packagekitqt5 libsystemd sailfishusermanager sailfishaccesscontrol
system(qdbusxml2cpp -p mceiface.h:mceiface.cpp mce.xml)
system($$[QT_INSTALL_BINS]/qdbusxml2cpp -p mceiface.h:mceiface.cpp mce.xml)
SOURCES += \
languagemodel.cpp \
......
......@@ -5,7 +5,7 @@ TRANSLATION_CATALOG = qml_plugin_systemsettings
# Translation Source
TS_FILE = $$OUT_PWD/$${TRANSLATION_CATALOG}.ts
ts.commands += lupdate $$PWD/.. -ts $$TS_FILE
ts.commands += $$[QT_INSTALL_BINS]/lupdate $$PWD/.. -ts $$TS_FILE
ts.CONFIG += no_check_exist no_link
ts.output = $$TS_FILE
ts.input = ..
......@@ -18,7 +18,7 @@ ts_install.CONFIG += no_check_exist
EE_QM = $$OUT_PWD/$${TRANSLATION_CATALOG}_eng_en.qm
# XXX should add -markuntranslated "-" when proper translations are in place
qm.commands += lrelease -idbased $$TS_FILE -qm $$EE_QM
qm.commands += $$[QT_INSTALL_BINS]/lrelease -idbased $$TS_FILE -qm $$EE_QM
qm.CONFIG += no_check_exist no_link
qm.depends = ts
qm.input = $$TS_FILE
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment