source: SMSSender/gateways/Sunrise/locale/locale.pri @ 330:8396e0772959

separation-frontend-backend
Last change on this file since 330:8396e0772959 was 330:8396e0772959, checked in by Sämy Zehnder <saemy.zehnder@…>, 6 years ago
  • Separates backend and frontend code in the Sunrise gateway.
File size: 706 bytes
Line 
1TRANSLATIONS += \
2    locale/de.ts \
3    locale/de_CH.ts \
4    locale/fr.ts \
5    locale/it.ts
6
7isEmpty(QMAKE_LRELEASE) {
8    win32|os2:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]\\lrelease.exe
9    else:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]/lrelease
10    unix {
11        !exists($$QMAKE_LRELEASE) { QMAKE_LRELEASE = lrelease-qt4 }
12    } else {
13        !exists($$QMAKE_LRELEASE) { QMAKE_LRELEASE = lrelease }
14    }
15}
16
17updateqm.input = TRANSLATIONS
18updateqm.output = ${QMAKE_FILE_BASE}.qm
19updateqm.commands = $$QMAKE_LRELEASE -silent ${QMAKE_FILE_IN} -qm $$PWD/${QMAKE_FILE_BASE}.qm
20updateqm.CONFIG += no_link target_predeps
21QMAKE_EXTRA_COMPILERS += updateqm
22system($$QMAKE_LRELEASE -silent $$PWD/../sunrise-base.pro)
Note: See TracBrowser for help on using the repository browser.