QT Creator will convert Tab characters into spaces when saving (Ctrl+S)

When I was writing the makefile today, I found that QT Creator would convert the Tab character into a space when saving (Ctrl+S). I had not found this before, which was a bit confusing.Official website There are also instructions on it, click here
In short, the solution is as follows
Click: Tools ->Options->TextEditer->Behavior, cancel Clean Check mark for indentation

Insert image description here
Save the settings to solve the above problem

Guess you like

Origin blog.csdn.net/qq_41841073/article/details/134737873