How can I prevent Qt Creator 2.4.1 tabs from replacing with spaces?
In the settings, go to C++
, and on the tab, Code Style
click the button Edit
. In a new window, you will General Tab
have one that allows you to set the indentation values of your C ++ code.
Install Tab policy
in Tabs only
and Align continuation lines
(if 2.4.1 already had it, not necessary) before With Regular Indent
, and you should be good.
Note. The same can be done for Qt Quick
.
source to share