Permalink
Browse files

Default to lrelease and not lrelease-qt4 on non unix platforms.

  • Loading branch information...
icefox committed May 24, 2010
1 parent 444f868 commit bac8748995c48fb7ccbd80d63f6ef74c3b8bc432
Showing with 5 additions and 1 deletion.
  1. +5 −1 src/locale/locale.pri
View
@@ -38,7 +38,11 @@ TRANSLATIONS += \
isEmpty(QMAKE_LRELEASE) {
win32:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]\lrelease.exe
else:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]/lrelease
- !exists($$QMAKE_LRELEASE) { QMAKE_LRELEASE = lrelease-qt4 }
+ unix {
+ !exists($$QMAKE_LRELEASE) { QMAKE_LRELEASE = lrelease-qt4 }
+ } else {
+ !exists($$QMAKE_LRELEASE) { QMAKE_LRELEASE = lrelease }
+ }
}
updateqm.input = TRANSLATIONS

0 comments on commit bac8748

Please sign in to comment.