mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-23 13:04:23 +00:00
Improve qmake configuration file for cross compilation
This commit is contained in:
parent
602e6b5263
commit
05bd0e5570
@ -68,8 +68,8 @@ include(base/base.pri)
|
|||||||
!nowebui: include(webui/webui.pri)
|
!nowebui: include(webui/webui.pri)
|
||||||
|
|
||||||
isEmpty(QMAKE_LRELEASE) {
|
isEmpty(QMAKE_LRELEASE) {
|
||||||
win32: QMAKE_LRELEASE = $$[QT_INSTALL_BINS]/lrelease.exe
|
win32: QMAKE_LRELEASE = $$[QT_HOST_BINS]/lrelease.exe
|
||||||
else: QMAKE_LRELEASE = $$[QT_INSTALL_BINS]/lrelease
|
else: QMAKE_LRELEASE = $$[QT_HOST_BINS]/lrelease
|
||||||
unix {
|
unix {
|
||||||
equals(QT_MAJOR_VERSION, 5) {
|
equals(QT_MAJOR_VERSION, 5) {
|
||||||
!exists($$QMAKE_LRELEASE): QMAKE_LRELEASE = lrelease-qt5
|
!exists($$QMAKE_LRELEASE): QMAKE_LRELEASE = lrelease-qt5
|
||||||
|
Loading…
x
Reference in New Issue
Block a user