1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-11 07:18:08 +00:00

Merge pull request #13055 from brvphoenix/fix-cross-compile

Improve qmake configuration file for cross compilation
This commit is contained in:
Mike Tzou 2020-06-23 18:47:26 +08:00 committed by GitHub
commit 929dc2e2b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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