google-code-export / rolisteam

Automatically exported from code.google.com/p/rolisteam
1 stars 0 forks source link

Compiler automatiquement les traductions #68

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Description:
Cette petite modification fait que les traductions soient compilées en même 
temps que le code.

Ajouter les lignes suivantes à rolisteam.pro (moi je les ai mises avant 
HEADERS = ... )

isEmpty(QMAKE_LRELEASE) {
    win32:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]\lrelease.exe
    else:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]/lrelease
}
updateqm.input = TRANSLATIONS
updateqm.output = ${QMAKE_FILE_PATH}/${QMAKE_FILE_BASE}.qm
updateqm.commands = $$QMAKE_LRELEASE ${QMAKE_FILE_IN} -qm 
${QMAKE_FILE_PATH}/${QMAKE_FILE_BASE}.qm
updateqm.CONFIG += no_link
QMAKE_EXTRA_COMPILERS += updateqm
PRE_TARGETDEPS += compiler_updateqm_make_all

Original issue reported on code.google.com by Anonymou...@gmail.com on 11 Aug 2012 at 2:34

GoogleCodeExporter commented 9 years ago
rev286 include your patch.

Original comment by renaud.g...@gmail.com on 11 Aug 2012 at 3:13

GoogleCodeExporter commented 9 years ago
Thanks!

... Should I write in English or in French here?

Original comment by Anonymou...@gmail.com on 11 Aug 2012 at 3:14