Vælg linjeafslutningsformat
For at skifte mellem Windows-linjeafslutninger (CRLF) og Unix-linjeafslutninger (LF) skal du vælge afslutningsformatet på redigeringsværktøjslinjen (3) i tilstanden " Edit ".

For at skjule dette felt skal du gå til " Preferences " > " Text Editor " > " Display" og fjerne markeringen i " Display file line ending".
Indstil standardformat
For at indstille de linjeafslutninger, der skal bruges som standard for alle projekter, skal du gå til Preferences > Text Editor > Behavior og vælge afslutningsformatet under Default line endings.

For at indstille de linjeafslutninger, der skal bruges til et projekt, skal du gå til Projects > Project Settings > Editor.

Se også Sådan gør du: Rediger kode, Angiv editorindstillinger og Redigering af kode.
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.