PDA

View Full Version : Show "≤" symbol in QLineEdit



^NyAw^
14th June 2012, 12:24
Hi,

Anyone knows how to show "≤" symbol on a QLineEdit?

Thanks,

wysota
14th June 2012, 12:47
There is nothing special about this symbol, you should be able to show it just like any other character.

^NyAw^
14th June 2012, 12:54
Hi,

Time ago I had some problem changing the developer environment. The new IDE changed the symbol by another(don't remember wich). So I think that will be better to use the ASCII code but the problem is that it's not part of ASCII coding.

Visual Studio shows this warning:


warning C4566: el carácter representado por el nombre de carácter universal '\u2264' no se puede representar en la página de códigos actual (1252)

that is something like "the character represented by universal char '\u2264' cannot be represented on the current code page (1252)"

Thanks,

wysota
14th June 2012, 13:01
So change the encoding of your source file.