From e12d020578ec3afd0ceb58306269355dd5b76316 Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Thu, 30 Apr 2020 09:16:04 -0400 Subject: [PATCH] Ensure that "lrelease" is replaced by the proper Qt version-ed utility. --- src-qt5/networkmgr/networkmgr.pro | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src-qt5/networkmgr/networkmgr.pro b/src-qt5/networkmgr/networkmgr.pro index 1910288..6c5d523 100644 --- a/src-qt5/networkmgr/networkmgr.pro +++ b/src-qt5/networkmgr/networkmgr.pro @@ -3,6 +3,8 @@ QT += core gui widgets network concurrent TARGET = trident-networkmgr target.path = /usr/bin +isEmpty(LRELEASE){ LRELEASE = $$[QT_INSTALL_BINS]/lrelease } + TEMPLATE = app SOURCES += main.cpp \ @@ -90,7 +92,7 @@ TRANSLATIONS = i18n/tri-nmgr_af.ts \ i18n/tri-nmgr_zu.ts dotrans.path=/usr/share/trident-networkmgr/i18n/ -dotrans.extra=cd $$PWD/i18n && lrelease -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)/usr/share/trident-networkmgr/i18n/ +dotrans.extra=cd $$PWD/i18n && $${LRELEASE} -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)/usr/share/trident-networkmgr/i18n/ #Some conf to redirect intermediate stuff in separate dirs UI_DIR=./.build/ui/