4 # also add new translations to src/qt/bitcoin.qrc under translations/
5 TRANSLATIONS = $$files(bitcoin_*.ts)
7 isEmpty(QM_DIR):QM_DIR = $$PWD/src/qt/locale
8 # automatically build translations, so they can be included in resource file
9 TSQM.name = lrelease ${QMAKE_FILE_IN}
10 TSQM.input = TRANSLATIONS
11 TSQM.output = $$QM_DIR/${QMAKE_FILE_BASE}.qm
12 TSQM.commands = $$QMAKE_LRELEASE ${QMAKE_FILE_IN} -qm ${QMAKE_FILE_OUT}
14 QMAKE_EXTRA_COMPILERS += TSQM
16 windows:DEFINES += WIN32
17 windows:RC_FILE = $$PWD/src/qt/res/bitcoin-qt.rc