[Development] important: upcoming rename of _qpa.h to _p.h

Thiago Macieira thiago.macieira at intel.com
Thu Apr 19 15:38:02 CEST 2012


On quinta-feira, 19 de abril de 2012 05.45.29, Girish Ramakrishnan wrote:
> Hi Guys,
> 
> On Wed, Apr 18, 2012 at 7:03 AM, Girish Ramakrishnan
> 
> <girish at forwardbias.in> wrote:
> > Since there's been no proposal, here's an alternate proposal:
> > 1. We drop _qpa completely. So, it would become qplatformbackingstore.h
> > 2. We teach syncqt that qplatform* is special and we move them all to
> > a special qpa/ directory. So, instead of #include
> > <QtGui/private/qplatformbackingstore.h>, it will be #include
> > <QtGui/qpa/qplatformbackingstore.h>
> > 3. We teach syncqt to create <QtGui/QPA> or #include <QPA> headers. (I
> > think we need the latter since qpa headers are not restricted to gui)
> > 4. We teach the world that qpa is not meant for apps.
> > 5. Add a more benign header pointing out the fact that these files are
> > qpa files.
> > 6. Rename the handle() to platformXXX() since it's easy to educate
> > that anything that has platform in it is out of reach of app
> > developers.
> 
> Paul did say on irc this proposal sounds 'better', but I am not sure
> that means I have his +2. Is this any better? (read: compromise)
> 
> How should I proceed?

Go ahead.

And good luck with syncqt. Don't forget "qplatform" can appear elsewhere 
(e.g., qplatformdefs.h)

-- 
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/20120419/2b4651e7/attachment.sig>


More information about the Development mailing list