[Development] Qt Coding Guidelines

Samuel Gaist samuel.gaist at edeltech.ch
Wed Mar 16 16:53:53 CET 2016

On 16 mars 2016, at 16:14, Koehne Kai <Kai.Koehne at theqtcompany.com> wrote:

> Hi there,
> We have had quite some discussions about the use of C++11 features and right API in the past on this mailing list - but if there has been a consensus (which is sometimes hard to find out), it was often buried pretty deep in the mailing thread. IMO it would be good to make decisions more explicit, and write them down also somewhere outside of this list.
> We already have the coding conventions page: https://wiki.qt.io/Coding_Conventions . But we haven't done a good job at keeping it up to date - and one reason is IMO that, given that it's a wiki everybody can edit, people in a twist of irony stay away from editing it to avoid editing wars.
> I've been contemplating whether we should instead use some more formalized decision process. We could have a document uploaded in git, and every change needs to be reviewed and approved by Lars. While at it, this fresh start would also be a good opportunity to check whether all the rules in above wiki page, and the structure of the document in general, can be improved.
> As sort of a demo I created
> https://github.com/kkoehne/qt-coding-guidelines/blob/master/qt-coding-guidelines.md
> What do you think? If nobody sees the value in this, I'll refrain from sinking more time into it.
> Regards
> Kai
> --
> Kai Köhne, Senior Manager R&D - The Qt Company
> The Qt Company GmbH, Rudower Chaussee 13, D-12489 Berlin
> Geschäftsführer: Mika Pälsi, Juha Varelius, Tuula Haataja Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development



It could go in the qtqa repository or maybe qtbase so no need for additional online resources when coding (always nice when on battery)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.qt-project.org/pipermail/development/attachments/20160316/3410bc22/attachment.sig>

More information about the Development mailing list