[TOC]
sudo dnf install uncrustify
- Select Help > About Plugins > C++ > Beautifier to enable the plugin.
- Select Restart Now to restart Qt Creator and load the plugin.
- Select Tools > Options > Beautifier to specify settings for beautifying files.
- Select the Enable auto format on file save check box to automatically beautify files when you save them using the tool you select in the Tool field.
- Select Uncrustify to specify settings for the tool you want to use.