[Development] Namespace macros for Qt Add-Ons

Thiago Macieira thiago.macieira at intel.com
Fri Dec 9 13:32:27 CET 2011


On Friday, 9 de December de 2011 08.50.41, lars.knoll at nokia.com wrote:
> >Now we have macros like:
> >
> >QTORGANIZER_USE_NAMESPACE
> >QTBLUETOOTH_USE_NAMESPACE
> >Q_USE_JSONDB_NAMESPACE
> >
> >So it's not consistent at the moment, which makes the macros
> >non-guessable. What would be the right thing to do here?
> 
> I'm not a too big fan of these macros. The main question is whether they
> are needed at all. 

They are probably a heritage of the Qt Mobility namespace, which existed in 
the first place because the modules there were meant to be moved into Qt and 
the namespace dropped, keeping source compatibility.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
     Intel Sweden AB - Registration Number: 556189-6027
     Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20111209/b4b6ef33/attachment.sig>


More information about the Development mailing list