Discussion:
[Qt-creator] clang-format config for Qt coding style
t***@gmail.com
2018-04-13 08:59:30 UTC
Permalink
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?

Thanks,
Timur
Kari Oikarinen
2018-04-13 09:11:44 UTC
Permalink
Post by t***@gmail.com
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.
--
Kari
Eike Ziller
2018-04-13 09:26:51 UTC
Permalink
Post by t***@gmail.com
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
***@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
Loading...