Fix src.pro always linking

.. infuriating issue of always running the linker step when
   running make, even if not needed.
This commit is contained in:
Mark Liversedge
2016-02-27 10:08:07 +00:00
parent 2233f53757
commit 181d304d41

View File

@@ -182,10 +182,9 @@ isEmpty(TS_DIR):TS_DIR = Resources/translations
TSQM.name = lrelease ${QMAKE_FILE_IN}
TSQM.input = TRANSLATIONS
TSQM.output = $$TS_DIR/${QMAKE_FILE_BASE}.qm
TSQM.commands = $$QMAKE_LRELEASE ${QMAKE_FILE_IN}
TSQM.CONFIG = no_link
TSQM.commands = $$QMAKE_LRELEASE ${QMAKE_FILE_IN} -qm $$TS_DIR/${QMAKE_FILE_BASE}.qm
TSQM.CONFIG = no_link target_predeps
QMAKE_EXTRA_COMPILERS += TSQM
PRE_TARGETDEPS += compiler_TSQM_make_all
###==========