PDA

View Full Version : Qt Linguist Qt Linguist CODECFORTR option in Visual Studio



Sapien2
20th December 2010, 19:17
I am developing Qt application using Visual Studio and Qt Visual Studio Add-in. I am using non-Latin1 characters in my source code, so I need to specify CODECFORTR in .pro file for QtLinguist to display it correctly. But VS add-in doesn't create .pro file, it provided only "lupdate all files" and "lrelease all file" options in project context menu. Is there any way to pass CODECFORTR option to lupdate tool using VS add-in?

Lykurg
20th December 2010, 22:41
Well, I have never worked with the VS add-in, but do you know the basic editors like Edit or Winpad? Open your pro file (even inside VS) and simply type in the line for CODECFORTR and save it.;)