mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-03-09 11:51:03 +00:00
Fix lrelease version due to the default Qt5 build
As title
This commit is contained in:
parent
39ad4d65e8
commit
981bbae75f
@ -5,7 +5,12 @@ isEmpty(QMAKE_LRELEASE) {
|
|||||||
win32|os2:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]\\lrelease.exe
|
win32|os2:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]\\lrelease.exe
|
||||||
else:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]/lrelease
|
else:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]/lrelease
|
||||||
unix {
|
unix {
|
||||||
|
equals(QT_MAJOR_VERSION, 4) {
|
||||||
!exists($$QMAKE_LRELEASE) { QMAKE_LRELEASE = lrelease-qt4 }
|
!exists($$QMAKE_LRELEASE) { QMAKE_LRELEASE = lrelease-qt4 }
|
||||||
|
}
|
||||||
|
equals(QT_MAJOR_VERSION, 5) {
|
||||||
|
!exists($$QMAKE_LRELEASE) { QMAKE_LRELEASE = lrelease-qt5 }
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
!exists($$QMAKE_LRELEASE) { QMAKE_LRELEASE = lrelease }
|
!exists($$QMAKE_LRELEASE) { QMAKE_LRELEASE = lrelease }
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user