Re: [Development] Prefix includes with module name

2013-11-06 Thread André Pönitz
On Wed, Nov 06, 2013 at 12:55:52PM +0100, Olivier Goffart wrote: > Other than that, there is no real rules. The rules for user code have always been "don't add the module name" > The private header from other sub-directories need to specify the "private/". > In QtCreator, one does not include the

Re: [Development] Prefix includes with module name

2013-11-06 Thread Olivier Goffart
On Wednesday 06 November 2013 12:43:16 Kurt Pattyn wrote: > What is the general rule to include files in a Qt add-on module, more > specific, when should include files be prefixed with the module name? > > If I look at QTcpSocket.h I see: > #include > #include > > Includes prefixed with the mod

[Development] Prefix includes with module name

2013-11-06 Thread Kurt Pattyn
What is the general rule to include files in a Qt add-on module, more specific, when should include files be prefixed with the module name? If I look at QTcpSocket.h I see: #include #include Includes prefixed with the module name. In QTcpSocket.cpp: #include “qtcpsocket.h” #include “qtcpsocke