Changeset 338:716f9f44c5a4 in SMSSender


Ignore:
Timestamp:
Mar 15, 2014 4:27:23 PM (6 years ago)
Author:
Sämy Zehnder <saemy.zehnder@…>
Branch:
separation-frontend-backend
Message:
  • Adds compile roules for ts files.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • locale.pri

    r337 r338  
    44    locale/fr.ts \
    55    locale/it.ts
     6
     7# Automatically compile the .ts files into .qm
     8isEmpty(QMAKE_LRELEASE) {
     9    win32:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]\lrelease.exe
     10    else:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]/lrelease
     11}
     12
     13updateqm.input = TRANSLATIONS
     14updateqm.output = ${QMAKE_FILE_PATH}/${QMAKE_FILE_BASE}.qm
     15updateqm.commands = $$QMAKE_LRELEASE ${QMAKE_FILE_IN} -qm ${QMAKE_FILE_PATH}/${QMAKE_FILE_BASE}.qm
     16updateqm.CONFIG += no_link
     17
     18QMAKE_EXTRA_COMPILERS += updateqm
     19PRE_TARGETDEPS += compiler_updateqm_make_all
Note: See TracChangeset for help on using the changeset viewer.