[Development] Storing is-a QObject fact with metatypes

Stephen Kelly stephen.kelly at kdab.com
Sun Dec 4 15:19:54 CET 2011


On Friday, December 02, 2011 18:05:41 you wrote:
> > What do you think of the proposed change?
> 
> How much does it break to require type to be defined?
> It is probably ok to force the type to be defined.

It makes this necessary:

http://codereview.qt-project.org/#change,10407

and it breaks all of the sql plugins.

I added QVariant::fromForwardDeclared() and qvariant_cast_forward_declared() 
to solve this:

http://codereview.qt-project.org/#change,10409

I'm assuming my patch can depend on yours:

http://codereview.qt-project.org/#change,2106

Thanks,

-- 
Stephen Kelly <stephen at kdab.com> | Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
www.kdab.com || Germany +49-30-521325470 || Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-Independent Software Solutions
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20111204/8014b187/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20111204/8014b187/attachment.sig>


More information about the Development mailing list