Välj radavslutningsformat
För att växla mellan Windows-radavslut (CRLF) och Unix-radavslut (LF), välj avslutningsstil i redigerarens verktygsfält (3) i läget ” Edit ”.

För att dölja detta fält, gå till ” Preferences ” > ” Text Editor ” > ” Display ” och avmarkera ” Display file line ending ”.
Ställ in standardstil
För att ställa in vilka radavslut som ska användas som standard för alla projekt, gå till Preferences > Text Editor > Behavior och välj avslutningsstil i Default line endings.

För att ställa in vilka radavslut som ska användas för ett projekt, gå till Projects > Project Settings > Editor.

Se även Så här gör du: Redigera kod, Ange redigeringsinställningar och Redigera kod.
Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.