Reputation: 647
I like to write linux newlines, under windows, but QT automatically convert \n to \r\n based on the platform.
Any hints ?
Upvotes: 2
Views: 747
Reputation: 1
Assuming you speak of QFile-s, you might pass an explicit OpenMode to open
which has its QIODevice::Text
bit cleared.
Upvotes: 4