[Qt-creator] clang-format config for Qt coding style

Eike Ziller Eike.Ziller at qt.io
Fri Apr 13 11:26:51 CEST 2018



> On 13. Apr 2018, at 11:11, Kari Oikarinen <kari.oikarinen at qt.io> wrote:
> 
> 
> 
> On 13.04.2018 11:59, timur.kristof at gmail.com wrote:
>> Hi,
>> I'm working on a project which uses the Qt coding style.
>> Does you guys have a .clang-format config file for this style which I
>> can use with Qt Creator's Beautify plugin?
> 
> There is one at http://code.qt.io/cgit/qt/qtrepotools.git/tree/config/_clang-format
> 
> I don't know how complete it is.

Another one that some people use for Qt Creator code is here: 
http://code.qt.io/cgit/qt-creator/qt-creator.git/tree/dist/clangformat/.clang-format

(no idea where they differ)

Br, Eike

-- 
Eike Ziller
Principal Software Engineer

The Qt Company GmbH
Rudower Chaussee 13
D-12489 Berlin
eike.ziller at qt.io
http://qt.io
Geschäftsführer: Mika Pälsi,
Juha Varelius, Mika Harjuaho
Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B



More information about the Qt-creator mailing list