[SOLVED] Writing a new line in Qt5 is not working
-
-
Hi,
What class are you using to write the file?
What OS are you writing the file in?
What are you using to read the file?
Linux uses '\n' but Windows uses '\r\n' for newlines. However, if you are using Qt's text writing classes, you just provide '\n' and Qt will convert it to '\r\n' for you automatically.