- Qt Creator Manual
- Qt Quick Code Style
- Qt Creator Manual 12.0.0-rc1

Reference

# Qt Quick Code Style

To specify QML code style globally:

1. Select Preferences > Qt Quick.
2. In the Current settings field, select the settings to modify and click Copy.

3. Give a name to the settings and click OK.
4. Click Edit to specify code style settings for the project.

You can specify how to interpret the Tab key presses and how to align continuation lines.

In Line length, you can adjust the maximum line length for code lines.

To override the global preferences for a particular project, select Projects > Code Style.

See also Indent text or code, Find preferences, and Specify code style.

Reference