PDA

View Full Version : From QString to QChar



bunjee
31st May 2009, 01:34
Hey there,

I have a QString containing "\n".
I want to convert this to a QChar containing '\n'.

How can I do that ?

Thanks.

vieraci
31st May 2009, 04:14
The new line sequence is longer than one byte which means it won't fit into a QChar.