[Development] QValidator in QtCore

Thiago Macieira thiago.macieira at intel.com
Mon Sep 23 17:33:23 CEST 2013


On segunda-feira, 23 de setembro de 2013 16:36:43, Olivier Goffart wrote:
> The solution would have to have forward declaration header that forward 
> declares all the classes.  
> Then we would forbid forward declaration of Qt classes.
> Let a few versions for users to adapt.
> And then we can allow changes that break forward declaration.

You may provide this header in Qt 5. We could even tell people that it's the 
correct way of forward-declaring classes in Qt 5.

But we must not break source compatibility until Qt 6. Then we will simply 
have to choose whether we want to introduce that potentially widespread break 
in Qt 6.

An alternative and limited-impact change is to do that only for the template 
classes.
-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
-------------- 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/20130923/7f670ca0/attachment.sig>


More information about the Development mailing list