[Development] Suggestion on QML portability

Thiago Macieira thiago.macieira at intel.com
Mon Jul 16 14:14:50 CEST 2012


On segunda-feira, 16 de julho de 2012 09.38.53, Andreas Aardal Hanssen wrote:
> In Qt 4 we added obsolete symbols for Qt 3, and this never caused any pain
> for anybody. Qt3Support was a well intended effort to either port classes
> that were dropped from Qt 3, or to wrap those around Qt 4 classes that
> provided the same functionality. Let's make use of the good experience this
> was in Qt 5 as well.

Qt3Support did enable some compatibility features in QtCore and QtGui 
(especially the event loop and kernel), which means that CPU cycles would be 
spent for the price of having compatibility.

We chose not to do the same in Qt 5. All the compatibility layer is made up of 
inline functions.
-- 
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/20120716/14fa8497/attachment.sig>


More information about the Development mailing list