Skip to content
This repository has been archived by the owner on Mar 1, 2022. It is now read-only.

Commit

Permalink
Ensure that "lrelease" is replaced by the proper Qt version-ed utility.
Browse files Browse the repository at this point in the history
  • Loading branch information
beanpole135 committed Apr 30, 2020
1 parent a17e21a commit e12d020
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src-qt5/networkmgr/networkmgr.pro
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down Expand Up @@ -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/
Expand Down

0 comments on commit e12d020

Please sign in to comment.