[Qgis-developer] Header files order

Radim Blazek radim.blazek at gmail.com
Sat Apr 20 01:18:45 PDT 2013


I would like to be sure about the right header files order we prefer.
Developer manual [1] example is using:

* qt headers
* qgis headers

do you agree with that order (least specific -> most specific) extend
for system etc (each section sorted lexically):

* system headers
* standard libraries headers
* qt headers
* other 3rd party libraries headers
* qgis headers

or do most people prefer reverted order (most specific -> least specific):

* qgis headers
* other 3rd party libraries headers
* qt headers
* standard libraries headers
* system headers

The pros for each one may be found in many threads on web.

Radim


[1] http://hub.qgis.org/wiki/quantum-gis/Developers_Manual


More information about the Qgis-developer mailing list