[Interest] Text resources

Turtle Creek Software support at turtlesoft.com
Sun May 15 01:21:45 CEST 2022

We just started moving a Mac project to Windows.

When reading text resources into a QString, the Win version automatically
replaces all /n line endings with /r/n.  That screws up our line parsing.

The code creates a QString from QFile:readAll(), and the change happens
somewhere in that constructor.

Is there a way to prevent that behavior?  Using QFile::readLine() would be
a pain.

Thanks, Casey McD
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20220514/38369a3c/attachment.htm>

More information about the Interest mailing list