Improve qmake configuration file for cross compilation

This commit is contained in:
brvphoenix 2020-06-22 06:48:14 -07:00
parent 602e6b5263
commit 05bd0e5570

View file

@ -68,8 +68,8 @@ include(base/base.pri)
!nowebui: include(webui/webui.pri)
isEmpty(QMAKE_LRELEASE) {
win32: QMAKE_LRELEASE = $$[QT_INSTALL_BINS]/lrelease.exe
else: QMAKE_LRELEASE = $$[QT_INSTALL_BINS]/lrelease
win32: QMAKE_LRELEASE = $$[QT_HOST_BINS]/lrelease.exe
else: QMAKE_LRELEASE = $$[QT_HOST_BINS]/lrelease
unix {
equals(QT_MAJOR_VERSION, 5) {
!exists($$QMAKE_LRELEASE): QMAKE_LRELEASE = lrelease-qt5