Qt Linguist and coding sources
I have source files with UTF-8 coding.
In .pro file I add
Code:
CODECFORTR = UTF-8
CODECFORSRC = UTF-8
In main.cpp I add
And when I made lupdate then in Qt Linguist I have a good coding for words from .ui file and wrong from words which are from .cpp files.
How to resolve this?
Re: Qt Linguist and coding sources
And you are sure, the cpp files are really encoded in UTF8? Also try trUtf8() to see if the text gets extracted right.
Re: Qt Linguist and coding sources
I resolve problem. I made mistake - in my system I have lupdate - which is from Qt3 and lupdate-qt4, so I used a wrong lupdate. Sorry for this.
But now I have wrong coding in window Sources and Forms when a source is display(I don't known a right name in eng because I have polish interface).