KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Greetings all, I am trying to use QT internationalization with CMake. I have configured my cmake file as follows : #Internalization - this should generate core_jp.ts ? SET(rinzo_core_TRANSLATIONS i18n/core_jp.ts ) #these are my source files in the project SET(FILES_TO_TRANSLATE ${rinzo_core_srcs} ${rinzo_core_moh_srcs} ) QT4_CREATE_TRANSLATION(QM_FILES ${FILES_TO_TRANSLATE} ${rinzo_core_TRANSLATIONS}) QT4_ADD_TRANSLATION(QM ${rinzo_core_TRANSLATIONS}) But it doesnt genereate any TS nor QM files. My questions - 1.Does Cmake(by using QT tools) generate TS files automatically extracting "tr()" methods from the source ? (that means I dont have to create any TS file and above i18n/core_jp.ts will be genereated automatically) 2.What exacly are QM files ? Thanks in advance
Tags (comma-separated)
Save Edits
Cancel