Browse Source

Merge pull request #4299 from Fale/patch-2

Fix lrelease version due to the default Qt5 build
adaptive-webui-19844
sledgehammer999 9 years ago
parent
commit
e4679a6eaf
  1. 5
      qm_gen.pri

5
qm_gen.pri

@ -5,7 +5,12 @@ isEmpty(QMAKE_LRELEASE) { @@ -5,7 +5,12 @@ isEmpty(QMAKE_LRELEASE) {
win32|os2:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]\\lrelease.exe
else:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]/lrelease
unix {
equals(QT_MAJOR_VERSION, 4) {
!exists($$QMAKE_LRELEASE) { QMAKE_LRELEASE = lrelease-qt4 }
}
equals(QT_MAJOR_VERSION, 5) {
!exists($$QMAKE_LRELEASE) { QMAKE_LRELEASE = lrelease-qt5 }
}
} else {
!exists($$QMAKE_LRELEASE) { QMAKE_LRELEASE = lrelease }
}

Loading…
Cancel
Save