file(WRITE ${TRANSLATION_QRC} "\n\t\n") foreach(TS ${TRANSLATION_FILES}) get_filename_component(TS_BASE "${TS}" NAME) file(APPEND ${TRANSLATION_QRC} "\t\t${TS_BASE}\n") endforeach() file(APPEND ${TRANSLATION_QRC} "\t\n")