[Interest] Certain QTextCodecs causing crashes on Linux

Thiago Macieira thiago.macieira at intel.com
Wed Jul 31 22:30:17 CEST 2013


On quarta-feira, 31 de julho de 2013 19:24:28, Scott Aron Bloom wrote:
> QByteArray data = fi.readLine()
> QString contents = QString::fromLocal8Bit( currData )
> setPlainText( contents )
> 
> Would the other setCodec functions be better ?

You shouldn't set any codec for the above. It's working already.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130731/c1738bba/attachment.sig>


More information about the Interest mailing list