mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 09:32:12 +01:00
786d6f4029
- however plugins has to be statically linked
33 lines
1.3 KiB
Plaintext
33 lines
1.3 KiB
Plaintext
TRANSLATIONS += $$PWD/translations/cs_CZ.ts\
|
|
$$PWD/translations/sk_SK.ts\
|
|
$$PWD/translations/de_DE.ts\
|
|
$$PWD/translations/nl_NL.ts\
|
|
$$PWD/translations/zh_CN.ts\
|
|
$$PWD/translations/zh_TW.ts\
|
|
$$PWD/translations/it_IT.ts\
|
|
$$PWD/translations/pl_PL.ts\
|
|
$$PWD/translations/es_ES.ts\
|
|
$$PWD/translations/fr_FR.ts\
|
|
$$PWD/translations/el_GR.ts\
|
|
$$PWD/translations/ru_RU.ts\
|
|
$$PWD/translations/pt_PT.ts\
|
|
$$PWD/translations/sr_BA.ts\
|
|
$$PWD/translations/sr_RS.ts\
|
|
$$PWD/translations/sv_SE.ts\
|
|
|
|
isEmpty(QMAKE_LRELEASE) {
|
|
win32|os2:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]\lrelease.exe
|
|
else:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]/lrelease
|
|
unix {
|
|
!exists($$QMAKE_LRELEASE) { QMAKE_LRELEASE = lrelease-qt4 }
|
|
} else {
|
|
!exists($$QMAKE_LRELEASE) { QMAKE_LRELEASE = lrelease }
|
|
}
|
|
}
|
|
|
|
updateqm.input = TRANSLATIONS
|
|
updateqm.output = $$PWD/bin/locale/${QMAKE_FILE_BASE}.qm
|
|
updateqm.commands = $$QMAKE_LRELEASE -silent ${QMAKE_FILE_IN} -qm $$PWD/bin/locale/${QMAKE_FILE_BASE}.qm
|
|
updateqm.CONFIG += no_link target_predeps
|
|
QMAKE_EXTRA_COMPILERS += updateqm
|