[Qt-creator] 4.6.1 indentation issues

timur.kristof at gmail.com timur.kristof at gmail.com
Mon May 7 20:37:05 CEST 2018


Maybe it thinks that it's a C header and not a C++ header, and that's why. Just a wild guess.

On Monday, 7 May 2018, Jason H wrote:
> I use a copy of the Qt style and it's all been good up until 4.6.1
> I use tabs with a tab size of 4 indent 4, Tabs-Only for C++, with clean whitespace on save. 
> 
> However QtCreator is now showing them to be as width of 8, and is not cleaning whitespace of "...." (4 spaces) to "->" (tab).
> 
> The file I'm encountering this with is #included into the current project, but is not part of the project. However if I load the project that it is a part of, QtCreator behaves correctly. As long as the original project is loaded (it does not matter which project is active) QtC behaves properly.
> 
> I don't know if this is a bug or feature, but I'd expect that all C++ files to be treated the same. Any thoughts?
> 
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator
>

-- 
Sent from my Jolla


More information about the Qt-creator mailing list