1file(WRITE ${TRANSLATION_QRC} "<RCC>\n\t<qresource prefix=\"/translations/\">\n") 2foreach(TS ${TRANSLATION_FILES}) 3 get_filename_component(TS_BASE "${TS}" NAME) 4 file(APPEND ${TRANSLATION_QRC} "\t\t<file alias=\"${TS_BASE}\">${TS}</file>\n") 5endforeach() 6file(APPEND ${TRANSLATION_QRC} "\t</qresource>\n</RCC>") 7