[Qt-creator] problems with translated gcc compile messages

Daniel Teske daniel.teske at nokia.com
Mon Feb 9 10:37:48 CET 2009


On Saturday 07 February 2009 23:22:13 ext batyiev at gmail.com wrote:
> Hello
>
> I'm using ru_RU.UTF-8 locale, so some of gcc compile messages is translated
> into Russian. This bugs Qt Creator's error message parser as it suggests
> English strings. The quick & dirty fix is to run gcc with LANG=C enviroment
> setting, because parsing half translated output is nightmare.

Yep, we noticed that also recently, we aren't yet sure what to do about that. 
Our regular expressions to match gcc's output match "warning:" and "error:", 
which obviously is wrong on non english locales. But we are not sure how to 
best fix that. 

daniel




More information about the Qt-creator-old mailing list