[Development] Nested namespaces and syncqt
Thiago Macieira
thiago.macieira at intel.com
Mon Oct 1 01:10:04 CEST 2012
On quarta-feira, 19 de setembro de 2012 15.27.53, Sandro Andrade wrote:
> 1) It seems there are no qt modules currently using nested namespaces.
> Would that make
> my module looks somehow non qt-ish ?
Right.
> It'd be nice if we could have a more direct mapping
> between spec and implementation.
Not really. A spec is just a guideline and, very often, the *wrong* thing to
base an API on. Make an API that people can use, ignoring completely the spec.
> 2) Provided nested namespaces are fine, how do I instruct syncqt to
> generate iheaders
> preserving original sources dir structure ? Currently iheaders are all
> generated in qtbase/
> include/QtMyModule/, regardless their original place in source's dir
> structure. I have no
> INSTALLS directives in my .pro file.
syncqt is not to be used except for Qt addons following the exact Qt
guidelines, which do not include nested namespaces. In fact, syncqt barely
supports namespaces at all.
--
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/20120930/157f9dde/attachment.sig>
More information about the Development
mailing list