mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 10:46:35 +01:00
[Build] Try to use only "lrelease" binary from PATH with Qt5
If the lrelease binary is not in QT_INSTALL_BINS/lrelease, try to use just lrelease from PATH with Qt5, instead of incorrectly trying to use lrelease-qt4
This commit is contained in:
parent
36d64af403
commit
75b532a4a1
@ -141,10 +141,11 @@ equals(d_disable_updates_check, "true") { DEFINES *= DISABLE_UPDATES_CHECK }
|
||||
isEmpty(QMAKE_LRELEASE) {
|
||||
win32|os2:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]\\lrelease.exe
|
||||
else:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]/lrelease
|
||||
unix {
|
||||
!exists($$QMAKE_LRELEASE) { QMAKE_LRELEASE = lrelease-qt4 }
|
||||
} else {
|
||||
!exists($$QMAKE_LRELEASE) { QMAKE_LRELEASE = lrelease }
|
||||
|
||||
# Try to use lrelease from PATH
|
||||
unix:!exists($$QMAKE_LRELEASE) {
|
||||
isEqual(QT_MAJOR_VERSION, 4): QMAKE_LRELEASE = lrelease-qt4
|
||||
else: QMAKE_LRELEASE = lrelease
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user