[Interest] QTextStream problem

Turtle Creek Software support at turtlesoft.com
Tue Jul 30 17:30:27 CEST 2024


We ran into a weird error with QTextStream.  When using it to read a text
file, it removes all the line endings. That happens with readAll, read and
readLine.

Getting a QString direct from a QFile via readAll works properly.

Is this expected behavior in QTextStream? It's not documented anywhere.

Casey McDermott
TurtleSoft.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20240730/371eb54f/attachment.htm>


More information about the Interest mailing list