[Development] templated QObjects [was: Re: We are planning to upgrade qdoc to use clang for parsing C++]

Thiago Macieira thiago.macieira at intel.com
Mon Feb 29 17:38:30 CET 2016


On segunda-feira, 29 de fevereiro de 2016 10:09:51 PST Jędrzej Nowacki wrote:
> On Friday 26 of February 2016 15:56:08 Thiago Macieira wrote:
> > > I.e. what problems would we get from having to install the
> > > moc files?
> > 
> > Lots.
> 
> And probably all go away if instead of installing anything we use
> QMetaObjectBuilder (assuming it's api stabilization). Yes it would have
> performance impact, but only on the templated version and only during
> initialization, qml is paying that price constantly without bigger
> complains. It would not require any build system changes. The only
> limitation I can think of right now is that in QObject<Foo>, Foo needs to
> be know to QMetaType system, which is not a big deal.

What source data do you propose for QMOB?

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Development mailing list