[Development] api changes

Girish Ramakrishnan girish at forwardbias.in
Mon Apr 16 15:56:50 CEST 2012


Hi,

On Mon, Apr 16, 2012 at 6:46 AM, Oswald Buddenhagen
<oswald.buddenhagen at nokia.com> wrote:
> On Mon, Apr 16, 2012 at 10:21:00AM -0300, ext Thiago Macieira wrote:
>> On segunda-feira, 16 de abril de 2012 10.30.50, Oswald Buddenhagen wrote:
>> > On Fri, Apr 13, 2012 at 03:16:54PM -0300, ext Thiago Macieira wrote:
>> > > 2) add #pragma qt_no_master_include so that they aren't included in
>> > > <QtGui>
>> > > and people use them by accident because they happened to complete in
>> > > QtCreator or another IDE
>> >
>> > this is entirely unnecessary when the files are renamed to _p.h.
>>
>> Which isn't the case. Renaming to _p.h doesn't happen until step 6.
>>
> yeah. why? i'd start with that.

I haven't added the pragmas yet and I am indeed trying to do step 6
already. But this is not straight forward. There's quite a bit of code
that needs to be changed for the renaming to happen. Every plugin
currently relies on the QtGui/QPlatform* file being generated for
them. There are ~94 references for just them atm. And then references
to qplatform*_qpa.h. I am doing a blind search-replace now. I need to
rename the inclusion headers etc.

The pragma is required if I don't manage to do the above for 5.0.

Girish



More information about the Development mailing list