Changeset b26801b000 in tspsg for tspsg.pro


Ignore:
Timestamp:
Jul 10, 2012, 5:44:43 PM (12 years ago)
Author:
Oleksii Serdiuk
Branches:
appveyor, imgbot, master, readme
Children:
0af510a462
Parents:
1299ea5b49
git-author:
Oleksii Serdiuk <contacts@…> (07/10/12 17:44:43)
git-committer:
Oleksii Serdiuk <contacts@…> (07/10/12 17:51:53)
Message:

Added a rule to run lrelease before running build.

qt_*.qm translations are no longer included into the resources.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tspsg.pro

    r1299ea5b49 rb26801b000  
    5656UI_DIR = tmp
    5757
     58# We need to generate translations before building.
     59# Either way, resource files won't compile.
     60translations.name = Translations
     61translations.input = TRANSLATIONS
     62translations.output = $$_PRO_FILE_PWD_/l10n/${QMAKE_FILE_BASE}.qm
     63translations.commands = $$[QT_INSTALL_BINS]/lrelease ${QMAKE_FILE_IN}
     64translations.CONFIG = no_link
     65QMAKE_EXTRA_COMPILERS += translations
     66PRE_TARGETDEPS += compiler_translations_make_all
     67
    5868# Include 3rd party libraries
    5969!handheld {
Note: See TracChangeset for help on using the changeset viewer.