wagmare
31st May 2016, 10:33
hi freinds/Experts,
I am adding special symbols to QString using
uint32_t val = 0x221A; //Roots
QString symbolText = QChar(val);
widget->setText(symbolText);
but for some range i not able to add those special characters
ex: 0x22F6 to 0x22FB , 0x2A0B to 0x2A1C.
these special mathematical symbols i have to add into my widget text.
for these ranges the output is always a empty box.
is it a problem with 32 bit char
QString is not supporting it
the way i implemented is wrong.
please help me.
I am adding special symbols to QString using
uint32_t val = 0x221A; //Roots
QString symbolText = QChar(val);
widget->setText(symbolText);
but for some range i not able to add those special characters
ex: 0x22F6 to 0x22FB , 0x2A0B to 0x2A1C.
these special mathematical symbols i have to add into my widget text.
for these ranges the output is always a empty box.
is it a problem with 32 bit char
QString is not supporting it
the way i implemented is wrong.
please help me.