source: SMSSender/frontend/gui/locale/locale.pri @ 315:e6c8bb244ecd

separation-frontend-backend
Last change on this file since 315:e6c8bb244ecd was 315:e6c8bb244ecd, checked in by Sämy Zehnder <saemy.zehnder@…>, 6 years ago
  • Separates the frontend from the backend code.
  • At this point the schoolnet gateway is converted only.
  • Removes bc & da prefixes from the filenames.
File size: 705 bytes
Line 
1INCLUDEPATH += $$PWD
2DEPENDPATH += $$PWD
3
4TRANSLATIONS += \
5 de.ts \
6 de_CH.ts \
7 fr.ts \
8 it.ts
9
10isEmpty(QMAKE_LRELEASE) {
11    win32|os2:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]\\lrelease.exe
12    else:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]/lrelease
13    unix {
14        !exists($$QMAKE_LRELEASE) { QMAKE_LRELEASE = lrelease-qt4 }
15    } else {
16        !exists($$QMAKE_LRELEASE) { QMAKE_LRELEASE = lrelease }
17    }
18}
19
20updateqm.input = TRANSLATIONS
21updateqm.output = $$PWD/${QMAKE_FILE_BASE}.qm
22updateqm.commands = $$QMAKE_LRELEASE -silent ${QMAKE_FILE_IN} -qm $$PWD/${QMAKE_FILE_BASE}.qm
23updateqm.CONFIG += no_link target_predeps
24QMAKE_EXTRA_COMPILERS += updateqm
25system($$QMAKE_LRELEASE -silent $$PWD/locale.pri)
Note: See TracBrowser for help on using the repository browser.