[Development] Qt Coding style and C++11

André Hartmann aha_1980 at gmx.de
Fri Sep 15 06:42:34 CEST 2017


Hi, since a while C++11 is allowed in Qt and there is ongoing effort 
porting e.g. examples to the new possibilities.

The section "Conventions for C++11 usage" in [1] states:

  "Note: This section is not an accepted convention yet.
   This section serves as baseline for further discussions."

I'd like to push this discussion, because if code is converted to a new 
base, it should be clear to everyone HOW to do so.

What I like to add, is to encourage the use of C++11 member 
initialisation. They are already used in QtSerialBus (from the 
beginning) and QtCreator (ongoing changes to existing codebase).

What do you think?

Best regards,
André

[1] https://wiki.qt.io/Coding_Conventions



More information about the Development mailing list